@aws-sdk/client-wafv2 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 (406) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/{dist/cjs → dist-cjs}/WAFV2.js +2 -3
  3. package/{dist/cjs → dist-cjs}/WAFV2Client.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AssociateWebACLCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CheckCapacityCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateIPSetCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateRegexPatternSetCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateWebACLCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteFirewallManagerRuleGroupsCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteIPSetCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteLoggingConfigurationCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeletePermissionPolicyCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeleteRegexPatternSetCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DeleteWebACLCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeManagedRuleGroupCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DisassociateWebACLCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/GetIPSetCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetLoggingConfigurationCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetManagedRuleSetCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetPermissionPolicyCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetRateBasedStatementManagedKeysCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/GetRegexPatternSetCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/GetRuleGroupCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/GetSampledRequestsCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/GetWebACLCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/GetWebACLForResourceCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/ListAvailableManagedRuleGroupsCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/ListIPSetsCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/ListLoggingConfigurationsCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/ListManagedRuleSetsCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/ListRegexPatternSetsCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/ListResourcesForWebACLCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/ListRuleGroupsCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/ListWebACLsCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/commands/PutLoggingConfigurationCommand.js +2 -3
  40. package/{dist/cjs → dist-cjs}/commands/PutManagedRuleSetVersionsCommand.js +2 -3
  41. package/{dist/cjs → dist-cjs}/commands/PutPermissionPolicyCommand.js +2 -3
  42. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  43. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  44. package/{dist/cjs → dist-cjs}/commands/UpdateIPSetCommand.js +2 -3
  45. package/{dist/cjs → dist-cjs}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +2 -3
  46. package/{dist/cjs → dist-cjs}/commands/UpdateRegexPatternSetCommand.js +2 -3
  47. package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
  48. package/{dist/cjs → dist-cjs}/commands/UpdateWebACLCommand.js +2 -3
  49. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  50. package/{dist/cjs → dist-cjs}/index.js +0 -1
  51. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  52. package/{dist/cjs → dist-cjs}/models/models_0.js +14 -5
  53. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +29 -1
  54. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  55. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  58. package/{dist/es → dist-es}/WAFV2.js +3 -65
  59. package/dist-es/WAFV2Client.js +37 -0
  60. package/{dist/es → dist-es}/commands/AssociateWebACLCommand.js +4 -34
  61. package/dist-es/commands/CheckCapacityCommand.js +39 -0
  62. package/{dist/es → dist-es}/commands/CreateIPSetCommand.js +4 -33
  63. package/{dist/es → dist-es}/commands/CreateRegexPatternSetCommand.js +4 -31
  64. package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -31
  65. package/{dist/es → dist-es}/commands/CreateWebACLCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/DeleteFirewallManagerRuleGroupsCommand.js +4 -32
  67. package/{dist/es → dist-es}/commands/DeleteIPSetCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/DeleteLoggingConfigurationCommand.js +4 -30
  69. package/{dist/es → dist-es}/commands/DeletePermissionPolicyCommand.js +4 -31
  70. package/{dist/es → dist-es}/commands/DeleteRegexPatternSetCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DeleteWebACLCommand.js +4 -32
  73. package/{dist/es → dist-es}/commands/DescribeManagedRuleGroupCommand.js +4 -31
  74. package/{dist/es → dist-es}/commands/DisassociateWebACLCommand.js +4 -33
  75. package/{dist/es → dist-es}/commands/GetIPSetCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/GetLoggingConfigurationCommand.js +4 -30
  77. package/{dist/es → dist-es}/commands/GetManagedRuleSetCommand.js +4 -34
  78. package/{dist/es → dist-es}/commands/GetPermissionPolicyCommand.js +4 -31
  79. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +39 -0
  80. package/{dist/es → dist-es}/commands/GetRegexPatternSetCommand.js +4 -30
  81. package/{dist/es → dist-es}/commands/GetRuleGroupCommand.js +4 -30
  82. package/dist-es/commands/GetSampledRequestsCommand.js +39 -0
  83. package/{dist/es → dist-es}/commands/GetWebACLCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/GetWebACLForResourceCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupVersionsCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/ListAvailableManagedRuleGroupsCommand.js +4 -32
  87. package/{dist/es → dist-es}/commands/ListIPSetsCommand.js +4 -31
  88. package/{dist/es → dist-es}/commands/ListLoggingConfigurationsCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/ListManagedRuleSetsCommand.js +4 -34
  90. package/{dist/es → dist-es}/commands/ListRegexPatternSetsCommand.js +4 -31
  91. package/{dist/es → dist-es}/commands/ListResourcesForWebACLCommand.js +4 -32
  92. package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -31
  93. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -37
  94. package/{dist/es → dist-es}/commands/ListWebACLsCommand.js +4 -31
  95. package/dist-es/commands/PutLoggingConfigurationCommand.js +39 -0
  96. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +39 -0
  97. package/{dist/es → dist-es}/commands/PutPermissionPolicyCommand.js +4 -46
  98. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -37
  99. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -33
  100. package/{dist/es → dist-es}/commands/UpdateIPSetCommand.js +4 -33
  101. package/{dist/es → dist-es}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +4 -36
  102. package/{dist/es → dist-es}/commands/UpdateRegexPatternSetCommand.js +4 -33
  103. package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -34
  104. package/dist-es/commands/UpdateWebACLCommand.js +39 -0
  105. package/{dist/es → dist-es}/endpoints.js +1 -2
  106. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  107. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  108. package/{dist/es → dist-es}/models/models_0.js +4 -547
  109. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1350 -1332
  110. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  111. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  112. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  113. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  114. package/{dist/types → dist-types}/WAFV2.d.ts +3 -3
  115. package/{dist/types → dist-types}/WAFV2Client.d.ts +9 -9
  116. package/{dist/types → dist-types}/commands/AssociateWebACLCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/CheckCapacityCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/CreateIPSetCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/CreateRegexPatternSetCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
  121. package/{dist/types → dist-types}/commands/CreateWebACLCommand.d.ts +3 -3
  122. package/{dist/types → dist-types}/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
  123. package/{dist/types → dist-types}/commands/DeleteIPSetCommand.d.ts +3 -3
  124. package/{dist/types → dist-types}/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
  125. package/{dist/types → dist-types}/commands/DeletePermissionPolicyCommand.d.ts +3 -3
  126. package/{dist/types → dist-types}/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
  127. package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
  128. package/{dist/types → dist-types}/commands/DeleteWebACLCommand.d.ts +3 -3
  129. package/{dist/types → dist-types}/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
  130. package/{dist/types → dist-types}/commands/DisassociateWebACLCommand.d.ts +3 -3
  131. package/{dist/types → dist-types}/commands/GetIPSetCommand.d.ts +3 -3
  132. package/{dist/types → dist-types}/commands/GetLoggingConfigurationCommand.d.ts +3 -3
  133. package/{dist/types → dist-types}/commands/GetManagedRuleSetCommand.d.ts +3 -3
  134. package/{dist/types → dist-types}/commands/GetPermissionPolicyCommand.d.ts +3 -3
  135. package/{dist/types → dist-types}/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
  136. package/{dist/types → dist-types}/commands/GetRegexPatternSetCommand.d.ts +3 -3
  137. package/{dist/types → dist-types}/commands/GetRuleGroupCommand.d.ts +3 -3
  138. package/{dist/types → dist-types}/commands/GetSampledRequestsCommand.d.ts +3 -3
  139. package/{dist/types → dist-types}/commands/GetWebACLCommand.d.ts +3 -3
  140. package/{dist/types → dist-types}/commands/GetWebACLForResourceCommand.d.ts +3 -3
  141. package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
  142. package/{dist/types → dist-types}/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
  143. package/{dist/types → dist-types}/commands/ListIPSetsCommand.d.ts +3 -3
  144. package/{dist/types → dist-types}/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/commands/ListManagedRuleSetsCommand.d.ts +3 -3
  146. package/{dist/types → dist-types}/commands/ListRegexPatternSetsCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/commands/ListResourcesForWebACLCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/commands/ListRuleGroupsCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/commands/ListWebACLsCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/commands/PutLoggingConfigurationCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/commands/PutPermissionPolicyCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/commands/UpdateIPSetCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
  158. package/{dist/types → dist-types}/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  159. package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
  160. package/{dist/types → dist-types}/commands/UpdateWebACLCommand.d.ts +3 -3
  161. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  162. package/{index.ts → dist-types/index.d.ts} +0 -0
  163. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  164. package/{dist/types → dist-types}/models/models_0.d.ts +34 -5
  165. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
  166. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  167. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  168. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  169. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/WAFV2.d.ts +3 -3
  171. package/{dist/types → dist-types}/ts3.4/WAFV2Client.d.ts +9 -9
  172. package/{dist/types → dist-types}/ts3.4/commands/AssociateWebACLCommand.d.ts +3 -3
  173. package/{dist/types → dist-types}/ts3.4/commands/CheckCapacityCommand.d.ts +3 -3
  174. package/{dist/types → dist-types}/ts3.4/commands/CreateIPSetCommand.d.ts +3 -3
  175. package/{dist/types → dist-types}/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +3 -3
  176. package/{dist/types → dist-types}/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
  177. package/{dist/types → dist-types}/ts3.4/commands/CreateWebACLCommand.d.ts +3 -3
  178. package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +3 -3
  179. package/{dist/types → dist-types}/ts3.4/commands/DeleteIPSetCommand.d.ts +3 -3
  180. package/{dist/types → dist-types}/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
  181. package/{dist/types → dist-types}/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +3 -3
  182. package/{dist/types → dist-types}/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
  183. package/{dist/types → dist-types}/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
  184. package/{dist/types → dist-types}/ts3.4/commands/DeleteWebACLCommand.d.ts +3 -3
  185. package/{dist/types → dist-types}/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +3 -3
  186. package/{dist/types → dist-types}/ts3.4/commands/DisassociateWebACLCommand.d.ts +3 -3
  187. package/{dist/types → dist-types}/ts3.4/commands/GetIPSetCommand.d.ts +3 -3
  188. package/{dist/types → dist-types}/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +3 -3
  189. package/{dist/types → dist-types}/ts3.4/commands/GetManagedRuleSetCommand.d.ts +3 -3
  190. package/{dist/types → dist-types}/ts3.4/commands/GetPermissionPolicyCommand.d.ts +3 -3
  191. package/{dist/types → dist-types}/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +3 -3
  192. package/{dist/types → dist-types}/ts3.4/commands/GetRegexPatternSetCommand.d.ts +3 -3
  193. package/{dist/types → dist-types}/ts3.4/commands/GetRuleGroupCommand.d.ts +3 -3
  194. package/{dist/types → dist-types}/ts3.4/commands/GetSampledRequestsCommand.d.ts +3 -3
  195. package/{dist/types → dist-types}/ts3.4/commands/GetWebACLCommand.d.ts +3 -3
  196. package/{dist/types → dist-types}/ts3.4/commands/GetWebACLForResourceCommand.d.ts +3 -3
  197. package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +3 -3
  198. package/{dist/types → dist-types}/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +3 -3
  199. package/{dist/types → dist-types}/ts3.4/commands/ListIPSetsCommand.d.ts +3 -3
  200. package/{dist/types → dist-types}/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
  201. package/{dist/types → dist-types}/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +3 -3
  202. package/{dist/types → dist-types}/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +3 -3
  203. package/{dist/types → dist-types}/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +3 -3
  204. package/{dist/types → dist-types}/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
  205. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  206. package/{dist/types → dist-types}/ts3.4/commands/ListWebACLsCommand.d.ts +3 -3
  207. package/{dist/types → dist-types}/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +3 -3
  208. package/{dist/types → dist-types}/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +3 -3
  209. package/{dist/types → dist-types}/ts3.4/commands/PutPermissionPolicyCommand.d.ts +3 -3
  210. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  211. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  212. package/{dist/types → dist-types}/ts3.4/commands/UpdateIPSetCommand.d.ts +3 -3
  213. package/{dist/types → dist-types}/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +3 -3
  214. package/{dist/types → dist-types}/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  215. package/{dist/types → dist-types}/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
  216. package/{dist/types → dist-types}/ts3.4/commands/UpdateWebACLCommand.d.ts +3 -3
  217. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  218. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  219. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  220. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +34 -5
  221. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
  222. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  223. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  224. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  225. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  226. package/package.json +52 -49
  227. package/WAFV2.ts +0 -1794
  228. package/WAFV2Client.ts +0 -494
  229. package/commands/AssociateWebACLCommand.ts +0 -98
  230. package/commands/CheckCapacityCommand.ts +0 -105
  231. package/commands/CreateIPSetCommand.ts +0 -97
  232. package/commands/CreateRegexPatternSetCommand.ts +0 -95
  233. package/commands/CreateRuleGroupCommand.ts +0 -95
  234. package/commands/CreateWebACLCommand.ts +0 -95
  235. package/commands/DeleteFirewallManagerRuleGroupsCommand.ts +0 -104
  236. package/commands/DeleteIPSetCommand.ts +0 -94
  237. package/commands/DeleteLoggingConfigurationCommand.ts +0 -97
  238. package/commands/DeletePermissionPolicyCommand.ts +0 -95
  239. package/commands/DeleteRegexPatternSetCommand.ts +0 -94
  240. package/commands/DeleteRuleGroupCommand.ts +0 -94
  241. package/commands/DeleteWebACLCommand.ts +0 -96
  242. package/commands/DescribeManagedRuleGroupCommand.ts +0 -95
  243. package/commands/DisassociateWebACLCommand.ts +0 -97
  244. package/commands/GetIPSetCommand.ts +0 -87
  245. package/commands/GetLoggingConfigurationCommand.ts +0 -94
  246. package/commands/GetManagedRuleSetCommand.ts +0 -98
  247. package/commands/GetPermissionPolicyCommand.ts +0 -95
  248. package/commands/GetRateBasedStatementManagedKeysCommand.ts +0 -104
  249. package/commands/GetRegexPatternSetCommand.ts +0 -94
  250. package/commands/GetRuleGroupCommand.ts +0 -94
  251. package/commands/GetSampledRequestsCommand.ts +0 -103
  252. package/commands/GetWebACLCommand.ts +0 -91
  253. package/commands/GetWebACLForResourceCommand.ts +0 -94
  254. package/commands/ListAvailableManagedRuleGroupVersionsCommand.ts +0 -106
  255. package/commands/ListAvailableManagedRuleGroupsCommand.ts +0 -104
  256. package/commands/ListIPSetsCommand.ts +0 -95
  257. package/commands/ListLoggingConfigurationsCommand.ts +0 -97
  258. package/commands/ListManagedRuleSetsCommand.ts +0 -98
  259. package/commands/ListRegexPatternSetsCommand.ts +0 -95
  260. package/commands/ListResourcesForWebACLCommand.ts +0 -96
  261. package/commands/ListRuleGroupsCommand.ts +0 -95
  262. package/commands/ListTagsForResourceCommand.ts +0 -101
  263. package/commands/ListWebACLsCommand.ts +0 -95
  264. package/commands/PutLoggingConfigurationCommand.ts +0 -124
  265. package/commands/PutManagedRuleSetVersionsCommand.ts +0 -108
  266. package/commands/PutPermissionPolicyCommand.ts +0 -110
  267. package/commands/TagResourceCommand.ts +0 -101
  268. package/commands/UntagResourceCommand.ts +0 -97
  269. package/commands/UpdateIPSetCommand.ts +0 -97
  270. package/commands/UpdateManagedRuleSetVersionExpiryDateCommand.ts +0 -112
  271. package/commands/UpdateRegexPatternSetCommand.ts +0 -97
  272. package/commands/UpdateRuleGroupCommand.ts +0 -98
  273. package/commands/UpdateWebACLCommand.ts +0 -98
  274. package/dist/cjs/WAFV2.js.map +0 -1
  275. package/dist/cjs/WAFV2Client.js.map +0 -1
  276. package/dist/cjs/commands/AssociateWebACLCommand.js.map +0 -1
  277. package/dist/cjs/commands/CheckCapacityCommand.js.map +0 -1
  278. package/dist/cjs/commands/CreateIPSetCommand.js.map +0 -1
  279. package/dist/cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  280. package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  281. package/dist/cjs/commands/CreateWebACLCommand.js.map +0 -1
  282. package/dist/cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
  283. package/dist/cjs/commands/DeleteIPSetCommand.js.map +0 -1
  284. package/dist/cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  285. package/dist/cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  286. package/dist/cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  287. package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  288. package/dist/cjs/commands/DeleteWebACLCommand.js.map +0 -1
  289. package/dist/cjs/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
  290. package/dist/cjs/commands/DisassociateWebACLCommand.js.map +0 -1
  291. package/dist/cjs/commands/GetIPSetCommand.js.map +0 -1
  292. package/dist/cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  293. package/dist/cjs/commands/GetManagedRuleSetCommand.js.map +0 -1
  294. package/dist/cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  295. package/dist/cjs/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
  296. package/dist/cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  297. package/dist/cjs/commands/GetRuleGroupCommand.js.map +0 -1
  298. package/dist/cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  299. package/dist/cjs/commands/GetWebACLCommand.js.map +0 -1
  300. package/dist/cjs/commands/GetWebACLForResourceCommand.js.map +0 -1
  301. package/dist/cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
  302. package/dist/cjs/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
  303. package/dist/cjs/commands/ListIPSetsCommand.js.map +0 -1
  304. package/dist/cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  305. package/dist/cjs/commands/ListManagedRuleSetsCommand.js.map +0 -1
  306. package/dist/cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  307. package/dist/cjs/commands/ListResourcesForWebACLCommand.js.map +0 -1
  308. package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  309. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  310. package/dist/cjs/commands/ListWebACLsCommand.js.map +0 -1
  311. package/dist/cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  312. package/dist/cjs/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
  313. package/dist/cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  314. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  315. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  316. package/dist/cjs/commands/UpdateIPSetCommand.js.map +0 -1
  317. package/dist/cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
  318. package/dist/cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  319. package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  320. package/dist/cjs/commands/UpdateWebACLCommand.js.map +0 -1
  321. package/dist/cjs/endpoints.js.map +0 -1
  322. package/dist/cjs/index.js.map +0 -1
  323. package/dist/cjs/models/index.js.map +0 -1
  324. package/dist/cjs/models/models_0.js.map +0 -1
  325. package/dist/cjs/package.json +0 -91
  326. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  327. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  328. package/dist/cjs/runtimeConfig.js.map +0 -1
  329. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  330. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  331. package/dist/es/WAFV2.js.map +0 -1
  332. package/dist/es/WAFV2Client.js +0 -104
  333. package/dist/es/WAFV2Client.js.map +0 -1
  334. package/dist/es/commands/AssociateWebACLCommand.js.map +0 -1
  335. package/dist/es/commands/CheckCapacityCommand.js +0 -76
  336. package/dist/es/commands/CheckCapacityCommand.js.map +0 -1
  337. package/dist/es/commands/CreateIPSetCommand.js.map +0 -1
  338. package/dist/es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  339. package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
  340. package/dist/es/commands/CreateWebACLCommand.js.map +0 -1
  341. package/dist/es/commands/DeleteFirewallManagerRuleGroupsCommand.js.map +0 -1
  342. package/dist/es/commands/DeleteIPSetCommand.js.map +0 -1
  343. package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  344. package/dist/es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  345. package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  346. package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
  347. package/dist/es/commands/DeleteWebACLCommand.js.map +0 -1
  348. package/dist/es/commands/DescribeManagedRuleGroupCommand.js.map +0 -1
  349. package/dist/es/commands/DisassociateWebACLCommand.js.map +0 -1
  350. package/dist/es/commands/GetIPSetCommand.js.map +0 -1
  351. package/dist/es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  352. package/dist/es/commands/GetManagedRuleSetCommand.js.map +0 -1
  353. package/dist/es/commands/GetPermissionPolicyCommand.js.map +0 -1
  354. package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js +0 -67
  355. package/dist/es/commands/GetRateBasedStatementManagedKeysCommand.js.map +0 -1
  356. package/dist/es/commands/GetRegexPatternSetCommand.js.map +0 -1
  357. package/dist/es/commands/GetRuleGroupCommand.js.map +0 -1
  358. package/dist/es/commands/GetSampledRequestsCommand.js +0 -74
  359. package/dist/es/commands/GetSampledRequestsCommand.js.map +0 -1
  360. package/dist/es/commands/GetWebACLCommand.js.map +0 -1
  361. package/dist/es/commands/GetWebACLForResourceCommand.js.map +0 -1
  362. package/dist/es/commands/ListAvailableManagedRuleGroupVersionsCommand.js.map +0 -1
  363. package/dist/es/commands/ListAvailableManagedRuleGroupsCommand.js.map +0 -1
  364. package/dist/es/commands/ListIPSetsCommand.js.map +0 -1
  365. package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  366. package/dist/es/commands/ListManagedRuleSetsCommand.js.map +0 -1
  367. package/dist/es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  368. package/dist/es/commands/ListResourcesForWebACLCommand.js.map +0 -1
  369. package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
  370. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  371. package/dist/es/commands/ListWebACLsCommand.js.map +0 -1
  372. package/dist/es/commands/PutLoggingConfigurationCommand.js +0 -95
  373. package/dist/es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  374. package/dist/es/commands/PutManagedRuleSetVersionsCommand.js +0 -76
  375. package/dist/es/commands/PutManagedRuleSetVersionsCommand.js.map +0 -1
  376. package/dist/es/commands/PutPermissionPolicyCommand.js.map +0 -1
  377. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  378. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  379. package/dist/es/commands/UpdateIPSetCommand.js.map +0 -1
  380. package/dist/es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js.map +0 -1
  381. package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  382. package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
  383. package/dist/es/commands/UpdateWebACLCommand.js +0 -69
  384. package/dist/es/commands/UpdateWebACLCommand.js.map +0 -1
  385. package/dist/es/endpoints.js.map +0 -1
  386. package/dist/es/index.js +0 -49
  387. package/dist/es/index.js.map +0 -1
  388. package/dist/es/models/index.js +0 -2
  389. package/dist/es/models/index.js.map +0 -1
  390. package/dist/es/models/models_0.js.map +0 -1
  391. package/dist/es/package.json +0 -91
  392. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  393. package/dist/es/runtimeConfig.browser.js.map +0 -1
  394. package/dist/es/runtimeConfig.js.map +0 -1
  395. package/dist/es/runtimeConfig.native.js.map +0 -1
  396. package/dist/es/runtimeConfig.shared.js.map +0 -1
  397. package/endpoints.ts +0 -57
  398. package/jest.config.js +0 -4
  399. package/models/models_0.ts +0 -6624
  400. package/protocols/Aws_json1_1.ts +0 -8472
  401. package/runtimeConfig.browser.ts +0 -40
  402. package/runtimeConfig.native.ts +0 -16
  403. package/runtimeConfig.shared.ts +0 -16
  404. package/runtimeConfig.ts +0 -45
  405. package/tsconfig.es.json +0 -12
  406. package/tsconfig.json +0 -32
@@ -1,105 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
2
- import { CheckCapacityRequest, CheckCapacityResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CheckCapacityCommand,
5
- serializeAws_json1_1CheckCapacityCommand,
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 CheckCapacityCommandInput extends CheckCapacityRequest {}
21
- export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules.
25
- * You can use this to check the capacity requirements for the rules you want to use in a
26
- * <a>RuleGroup</a> or <a>WebACL</a>.
27
- * </p>
28
- * <p>WAF uses WCUs to calculate and control the operating
29
- * resources that are used to run your rules, rule groups, and web ACLs. WAF
30
- * calculates capacity differently for each rule type, to reflect the relative cost of each rule.
31
- * Simple rules that cost little to run use fewer WCUs than more complex rules
32
- * that use more processing power.
33
- * Rule group capacity is fixed at creation, which helps users plan their
34
- * web ACL WCU usage when they use a rule group.
35
- * The WCU limit for web ACLs is 1,500. </p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { WAFV2Client, CheckCapacityCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
40
- * // const { WAFV2Client, CheckCapacityCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
41
- * const client = new WAFV2Client(config);
42
- * const command = new CheckCapacityCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link CheckCapacityCommandInput} for command's `input` shape.
47
- * @see {@link CheckCapacityCommandOutput} for command's `response` shape.
48
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class CheckCapacityCommand extends $Command<
52
- CheckCapacityCommandInput,
53
- CheckCapacityCommandOutput,
54
- WAFV2ClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: CheckCapacityCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: WAFV2ClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<CheckCapacityCommandInput, CheckCapacityCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "WAFV2Client";
79
- const commandName = "CheckCapacityCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: CheckCapacityRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: CheckCapacityResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: CheckCapacityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1CheckCapacityCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CheckCapacityCommandOutput> {
100
- return deserializeAws_json1_1CheckCapacityCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,97 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
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
- * <p>Creates an <a>IPSet</a>, which you use to identify web requests that
25
- * originate from specific IP addresses or ranges of IP addresses. For example, if you're
26
- * receiving a lot of requests from a ranges of IP addresses, you can configure WAF to
27
- * block them using an IPSet that lists those IP addresses. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { WAFV2Client, CreateIPSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
32
- * // const { WAFV2Client, CreateIPSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
33
- * const client = new WAFV2Client(config);
34
- * const command = new CreateIPSetCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateIPSetCommandInput} for command's `input` shape.
39
- * @see {@link CreateIPSetCommandOutput} for command's `response` shape.
40
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateIPSetCommand extends $Command<
44
- CreateIPSetCommandInput,
45
- CreateIPSetCommandOutput,
46
- WAFV2ClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateIPSetCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: WAFV2ClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<CreateIPSetCommandInput, CreateIPSetCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "WAFV2Client";
71
- const commandName = "CreateIPSetCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateIPSetRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateIPSetResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: CreateIPSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1CreateIPSetCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateIPSetCommandOutput> {
92
- return deserializeAws_json1_1CreateIPSetCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
2
- import { CreateRegexPatternSetRequest, CreateRegexPatternSetResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateRegexPatternSetCommand,
5
- serializeAws_json1_1CreateRegexPatternSetCommand,
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 CreateRegexPatternSetCommandInput extends CreateRegexPatternSetRequest {}
21
- export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSetResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a <a>RegexPatternSet</a>, which you reference in a <a>RegexPatternSetReferenceStatement</a>, to have WAF inspect a web request
25
- * component for the specified patterns.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WAFV2Client, CreateRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
30
- * // const { WAFV2Client, CreateRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
31
- * const client = new WAFV2Client(config);
32
- * const command = new CreateRegexPatternSetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateRegexPatternSetCommandInput} for command's `input` shape.
37
- * @see {@link CreateRegexPatternSetCommandOutput} for command's `response` shape.
38
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateRegexPatternSetCommand extends $Command<
42
- CreateRegexPatternSetCommandInput,
43
- CreateRegexPatternSetCommandOutput,
44
- WAFV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateRegexPatternSetCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WAFV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WAFV2Client";
69
- const commandName = "CreateRegexPatternSetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateRegexPatternSetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateRegexPatternSetResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateRegexPatternSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateRegexPatternSetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRegexPatternSetCommandOutput> {
90
- return deserializeAws_json1_1CreateRegexPatternSetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
2
- import { CreateRuleGroupRequest, CreateRuleGroupResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateRuleGroupCommand,
5
- serializeAws_json1_1CreateRuleGroupCommand,
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 CreateRuleGroupCommandInput extends CreateRuleGroupRequest {}
21
- export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a <a>RuleGroup</a> per the specifications provided. </p>
25
- * <p> A rule group defines a collection of rules to inspect and control web requests that you can use in a <a>WebACL</a>. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WAFV2Client, CreateRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
30
- * // const { WAFV2Client, CreateRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
31
- * const client = new WAFV2Client(config);
32
- * const command = new CreateRuleGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateRuleGroupCommandInput} for command's `input` shape.
37
- * @see {@link CreateRuleGroupCommandOutput} for command's `response` shape.
38
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateRuleGroupCommand extends $Command<
42
- CreateRuleGroupCommandInput,
43
- CreateRuleGroupCommandOutput,
44
- WAFV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateRuleGroupCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WAFV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WAFV2Client";
69
- const commandName = "CreateRuleGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateRuleGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateRuleGroupResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateRuleGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRuleGroupCommandOutput> {
90
- return deserializeAws_json1_1CreateRuleGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
2
- import { CreateWebACLRequest, CreateWebACLResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1CreateWebACLCommand,
5
- serializeAws_json1_1CreateWebACLCommand,
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 CreateWebACLCommandInput extends CreateWebACLRequest {}
21
- export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a <a>WebACL</a> per the specifications provided.</p>
25
- * <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has an action defined (allow, block, or count) for requests that match the statement of the rule. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resources can be an Amazon CloudFront distribution, an Amazon API Gateway REST API, an Application Load Balancer, or an AppSync GraphQL API. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { WAFV2Client, CreateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
30
- * // const { WAFV2Client, CreateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
31
- * const client = new WAFV2Client(config);
32
- * const command = new CreateWebACLCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link CreateWebACLCommandInput} for command's `input` shape.
37
- * @see {@link CreateWebACLCommandOutput} for command's `response` shape.
38
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class CreateWebACLCommand extends $Command<
42
- CreateWebACLCommandInput,
43
- CreateWebACLCommandOutput,
44
- WAFV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: CreateWebACLCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: WAFV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<CreateWebACLCommandInput, CreateWebACLCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "WAFV2Client";
69
- const commandName = "CreateWebACLCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: CreateWebACLRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: CreateWebACLResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: CreateWebACLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1CreateWebACLCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateWebACLCommandOutput> {
90
- return deserializeAws_json1_1CreateWebACLCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,104 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
2
- import { DeleteFirewallManagerRuleGroupsRequest, DeleteFirewallManagerRuleGroupsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand,
5
- serializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand,
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 DeleteFirewallManagerRuleGroupsCommandInput extends DeleteFirewallManagerRuleGroupsRequest {}
21
- export interface DeleteFirewallManagerRuleGroupsCommandOutput
22
- extends DeleteFirewallManagerRuleGroupsResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Deletes all rule groups that are managed by Firewall Manager for the specified web ACL. </p>
27
- * <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
28
- * <a>WebACL</a>. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { WAFV2Client, DeleteFirewallManagerRuleGroupsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
33
- * // const { WAFV2Client, DeleteFirewallManagerRuleGroupsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
34
- * const client = new WAFV2Client(config);
35
- * const command = new DeleteFirewallManagerRuleGroupsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DeleteFirewallManagerRuleGroupsCommandInput} for command's `input` shape.
40
- * @see {@link DeleteFirewallManagerRuleGroupsCommandOutput} for command's `response` shape.
41
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DeleteFirewallManagerRuleGroupsCommand extends $Command<
45
- DeleteFirewallManagerRuleGroupsCommandInput,
46
- DeleteFirewallManagerRuleGroupsCommandOutput,
47
- WAFV2ClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DeleteFirewallManagerRuleGroupsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: WAFV2ClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DeleteFirewallManagerRuleGroupsCommandInput, DeleteFirewallManagerRuleGroupsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "WAFV2Client";
72
- const commandName = "DeleteFirewallManagerRuleGroupsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DeleteFirewallManagerRuleGroupsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: DeleteFirewallManagerRuleGroupsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(
89
- input: DeleteFirewallManagerRuleGroupsCommandInput,
90
- context: __SerdeContext
91
- ): Promise<__HttpRequest> {
92
- return serializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand(input, context);
93
- }
94
-
95
- private deserialize(
96
- output: __HttpResponse,
97
- context: __SerdeContext
98
- ): Promise<DeleteFirewallManagerRuleGroupsCommandOutput> {
99
- return deserializeAws_json1_1DeleteFirewallManagerRuleGroupsCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }