@aws-sdk/client-waf 3.35.0 → 3.38.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 (536) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/WAF.js +0 -14
  3. package/dist-cjs/WAFClient.js +0 -19
  4. package/dist-cjs/commands/CreateByteMatchSetCommand.js +0 -56
  5. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +0 -53
  6. package/dist-cjs/commands/CreateIPSetCommand.js +0 -58
  7. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +0 -118
  8. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +0 -56
  9. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -52
  10. package/dist-cjs/commands/CreateRuleCommand.js +0 -76
  11. package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -47
  12. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +0 -56
  13. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -54
  14. package/dist-cjs/commands/CreateWebACLCommand.js +0 -64
  15. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +0 -32
  16. package/dist-cjs/commands/CreateXssMatchSetCommand.js +0 -54
  17. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +0 -48
  18. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +0 -48
  19. package/dist-cjs/commands/DeleteIPSetCommand.js +0 -48
  20. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -34
  21. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -34
  22. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +0 -52
  23. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +0 -48
  24. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -34
  25. package/dist-cjs/commands/DeleteRuleCommand.js +0 -48
  26. package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -48
  27. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +0 -48
  28. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -49
  29. package/dist-cjs/commands/DeleteWebACLCommand.js +0 -46
  30. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +0 -49
  31. package/dist-cjs/commands/GetByteMatchSetCommand.js +0 -33
  32. package/dist-cjs/commands/GetChangeTokenCommand.js +0 -39
  33. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +0 -49
  34. package/dist-cjs/commands/GetGeoMatchSetCommand.js +0 -33
  35. package/dist-cjs/commands/GetIPSetCommand.js +0 -33
  36. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -33
  37. package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -33
  38. package/dist-cjs/commands/GetRateBasedRuleCommand.js +0 -35
  39. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -35
  40. package/dist-cjs/commands/GetRegexMatchSetCommand.js +0 -33
  41. package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -33
  42. package/dist-cjs/commands/GetRuleCommand.js +0 -33
  43. package/dist-cjs/commands/GetRuleGroupCommand.js +0 -34
  44. package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -37
  45. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +0 -33
  46. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -33
  47. package/dist-cjs/commands/GetWebACLCommand.js +0 -33
  48. package/dist-cjs/commands/GetXssMatchSetCommand.js +0 -33
  49. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -33
  50. package/dist-cjs/commands/ListByteMatchSetsCommand.js +0 -33
  51. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +0 -33
  52. package/dist-cjs/commands/ListIPSetsCommand.js +0 -33
  53. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -33
  54. package/dist-cjs/commands/ListRateBasedRulesCommand.js +0 -33
  55. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +0 -33
  56. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -33
  57. package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -33
  58. package/dist-cjs/commands/ListRulesCommand.js +0 -33
  59. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +0 -33
  60. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -33
  61. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -33
  62. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -34
  63. package/dist-cjs/commands/ListWebACLsCommand.js +0 -33
  64. package/dist-cjs/commands/ListXssMatchSetsCommand.js +0 -33
  65. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -50
  66. package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -65
  67. package/dist-cjs/commands/TagResourceCommand.js +0 -34
  68. package/dist-cjs/commands/UntagResourceCommand.js +0 -33
  69. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +0 -71
  70. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +0 -63
  71. package/dist-cjs/commands/UpdateIPSetCommand.js +0 -98
  72. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +0 -79
  73. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +0 -67
  74. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -72
  75. package/dist-cjs/commands/UpdateRuleCommand.js +0 -74
  76. package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -57
  77. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +0 -75
  78. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -74
  79. package/dist-cjs/commands/UpdateWebACLCommand.js +0 -104
  80. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +0 -76
  81. package/dist-cjs/commands/index.js +80 -0
  82. package/dist-cjs/endpoints.js +1 -2
  83. package/dist-cjs/index.js +3 -80
  84. package/dist-cjs/models/index.js +0 -1
  85. package/dist-cjs/models/models_0.js +0 -685
  86. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  87. package/dist-cjs/runtimeConfig.browser.js +1 -6
  88. package/dist-cjs/runtimeConfig.js +2 -7
  89. package/dist-cjs/runtimeConfig.native.js +0 -4
  90. package/dist-cjs/runtimeConfig.shared.js +0 -4
  91. package/dist-es/WAF.js +0 -1
  92. package/dist-es/WAFClient.js +0 -1
  93. package/dist-es/commands/CreateByteMatchSetCommand.js +0 -1
  94. package/dist-es/commands/CreateGeoMatchSetCommand.js +0 -1
  95. package/dist-es/commands/CreateIPSetCommand.js +0 -1
  96. package/dist-es/commands/CreateRateBasedRuleCommand.js +0 -1
  97. package/dist-es/commands/CreateRegexMatchSetCommand.js +0 -1
  98. package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
  99. package/dist-es/commands/CreateRuleCommand.js +0 -1
  100. package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
  101. package/dist-es/commands/CreateSizeConstraintSetCommand.js +0 -1
  102. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
  103. package/dist-es/commands/CreateWebACLCommand.js +0 -1
  104. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +0 -1
  105. package/dist-es/commands/CreateXssMatchSetCommand.js +0 -1
  106. package/dist-es/commands/DeleteByteMatchSetCommand.js +0 -1
  107. package/dist-es/commands/DeleteGeoMatchSetCommand.js +0 -1
  108. package/dist-es/commands/DeleteIPSetCommand.js +0 -1
  109. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +0 -1
  110. package/dist-es/commands/DeletePermissionPolicyCommand.js +0 -1
  111. package/dist-es/commands/DeleteRateBasedRuleCommand.js +0 -1
  112. package/dist-es/commands/DeleteRegexMatchSetCommand.js +0 -1
  113. package/dist-es/commands/DeleteRegexPatternSetCommand.js +0 -1
  114. package/dist-es/commands/DeleteRuleCommand.js +0 -1
  115. package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
  116. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +0 -1
  117. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
  118. package/dist-es/commands/DeleteWebACLCommand.js +0 -1
  119. package/dist-es/commands/DeleteXssMatchSetCommand.js +0 -1
  120. package/dist-es/commands/GetByteMatchSetCommand.js +0 -1
  121. package/dist-es/commands/GetChangeTokenCommand.js +0 -1
  122. package/dist-es/commands/GetChangeTokenStatusCommand.js +0 -1
  123. package/dist-es/commands/GetGeoMatchSetCommand.js +0 -1
  124. package/dist-es/commands/GetIPSetCommand.js +0 -1
  125. package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
  126. package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
  127. package/dist-es/commands/GetRateBasedRuleCommand.js +0 -1
  128. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
  129. package/dist-es/commands/GetRegexMatchSetCommand.js +0 -1
  130. package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
  131. package/dist-es/commands/GetRuleCommand.js +0 -1
  132. package/dist-es/commands/GetRuleGroupCommand.js +0 -1
  133. package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
  134. package/dist-es/commands/GetSizeConstraintSetCommand.js +0 -1
  135. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +0 -1
  136. package/dist-es/commands/GetWebACLCommand.js +0 -1
  137. package/dist-es/commands/GetXssMatchSetCommand.js +0 -1
  138. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
  139. package/dist-es/commands/ListByteMatchSetsCommand.js +0 -1
  140. package/dist-es/commands/ListGeoMatchSetsCommand.js +0 -1
  141. package/dist-es/commands/ListIPSetsCommand.js +0 -1
  142. package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
  143. package/dist-es/commands/ListRateBasedRulesCommand.js +0 -1
  144. package/dist-es/commands/ListRegexMatchSetsCommand.js +0 -1
  145. package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
  146. package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
  147. package/dist-es/commands/ListRulesCommand.js +0 -1
  148. package/dist-es/commands/ListSizeConstraintSetsCommand.js +0 -1
  149. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
  150. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +0 -1
  151. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  152. package/dist-es/commands/ListWebACLsCommand.js +0 -1
  153. package/dist-es/commands/ListXssMatchSetsCommand.js +0 -1
  154. package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
  155. package/dist-es/commands/PutPermissionPolicyCommand.js +0 -1
  156. package/dist-es/commands/TagResourceCommand.js +0 -1
  157. package/dist-es/commands/UntagResourceCommand.js +0 -1
  158. package/dist-es/commands/UpdateByteMatchSetCommand.js +0 -1
  159. package/dist-es/commands/UpdateGeoMatchSetCommand.js +0 -1
  160. package/dist-es/commands/UpdateIPSetCommand.js +0 -1
  161. package/dist-es/commands/UpdateRateBasedRuleCommand.js +0 -1
  162. package/dist-es/commands/UpdateRegexMatchSetCommand.js +0 -1
  163. package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
  164. package/dist-es/commands/UpdateRuleCommand.js +0 -1
  165. package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
  166. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +0 -1
  167. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
  168. package/dist-es/commands/UpdateWebACLCommand.js +0 -1
  169. package/dist-es/commands/UpdateXssMatchSetCommand.js +0 -1
  170. package/dist-es/commands/index.js +77 -0
  171. package/dist-es/endpoints.js +1 -2
  172. package/dist-es/index.js +3 -80
  173. package/dist-es/models/index.js +0 -1
  174. package/dist-es/models/models_0.js +0 -1
  175. package/dist-es/protocols/Aws_json1_1.js +0 -1
  176. package/dist-es/runtimeConfig.browser.js +1 -2
  177. package/dist-es/runtimeConfig.js +2 -3
  178. package/dist-es/runtimeConfig.native.js +0 -1
  179. package/dist-es/runtimeConfig.shared.js +0 -1
  180. package/dist-types/commands/index.d.ts +77 -0
  181. package/dist-types/index.d.ts +3 -79
  182. package/dist-types/ts3.4/WAF.d.ts +78 -1975
  183. package/dist-types/ts3.4/WAFClient.d.ts +24 -99
  184. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -51
  185. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -48
  186. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -53
  187. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -113
  188. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -51
  189. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -47
  190. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -71
  191. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -42
  192. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -51
  193. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -49
  194. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -59
  195. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -27
  196. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -49
  197. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -43
  198. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -43
  199. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -43
  200. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -29
  201. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -29
  202. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -47
  203. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -43
  204. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -29
  205. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -43
  206. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -43
  207. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -43
  208. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -44
  209. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -41
  210. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -44
  211. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -28
  212. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -34
  213. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -44
  214. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -28
  215. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -28
  216. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -28
  217. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -28
  218. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -30
  219. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -30
  220. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -28
  221. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -28
  222. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -28
  223. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -29
  224. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -32
  225. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -28
  226. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -28
  227. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -28
  228. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -28
  229. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -28
  230. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -28
  231. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -28
  232. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -28
  233. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -28
  234. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -28
  235. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -28
  236. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -28
  237. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -28
  238. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -28
  239. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -28
  240. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -28
  241. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -28
  242. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -29
  243. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -28
  244. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -28
  245. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -45
  246. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -60
  247. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -29
  248. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -28
  249. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -66
  250. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -58
  251. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -93
  252. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -74
  253. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -62
  254. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -67
  255. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -69
  256. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -52
  257. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -70
  258. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -69
  259. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -99
  260. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -71
  261. package/dist-types/ts3.4/commands/index.d.ts +77 -0
  262. package/dist-types/ts3.4/index.d.ts +3 -79
  263. package/dist-types/ts3.4/models/models_0.d.ts +734 -4389
  264. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  265. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  266. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  267. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  268. package/package.json +33 -30
  269. package/dist-cjs/WAF.js.map +0 -1
  270. package/dist-cjs/WAFClient.js.map +0 -1
  271. package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
  272. package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
  273. package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
  274. package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
  275. package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
  276. package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  277. package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
  278. package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  279. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  280. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  281. package/dist-cjs/commands/CreateWebACLCommand.js.map +0 -1
  282. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  283. package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
  284. package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
  285. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  286. package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
  287. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  288. package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  289. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  290. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  291. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  292. package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
  293. package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  294. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  295. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  296. package/dist-cjs/commands/DeleteWebACLCommand.js.map +0 -1
  297. package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
  298. package/dist-cjs/commands/GetByteMatchSetCommand.js.map +0 -1
  299. package/dist-cjs/commands/GetChangeTokenCommand.js.map +0 -1
  300. package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
  301. package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
  302. package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
  303. package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  304. package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  305. package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
  306. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  307. package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
  308. package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  309. package/dist-cjs/commands/GetRuleCommand.js.map +0 -1
  310. package/dist-cjs/commands/GetRuleGroupCommand.js.map +0 -1
  311. package/dist-cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  312. package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
  313. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  314. package/dist-cjs/commands/GetWebACLCommand.js.map +0 -1
  315. package/dist-cjs/commands/GetXssMatchSetCommand.js.map +0 -1
  316. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  317. package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
  318. package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
  319. package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
  320. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  321. package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
  322. package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
  323. package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  324. package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  325. package/dist-cjs/commands/ListRulesCommand.js.map +0 -1
  326. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  327. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  328. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  329. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  330. package/dist-cjs/commands/ListWebACLsCommand.js.map +0 -1
  331. package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
  332. package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  333. package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  334. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  335. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  336. package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
  337. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  338. package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
  339. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  340. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  341. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  342. package/dist-cjs/commands/UpdateRuleCommand.js.map +0 -1
  343. package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  344. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  345. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  346. package/dist-cjs/commands/UpdateWebACLCommand.js.map +0 -1
  347. package/dist-cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
  348. package/dist-cjs/endpoints.js.map +0 -1
  349. package/dist-cjs/index.js.map +0 -1
  350. package/dist-cjs/models/index.js.map +0 -1
  351. package/dist-cjs/models/models_0.js.map +0 -1
  352. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  353. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  354. package/dist-cjs/runtimeConfig.js.map +0 -1
  355. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  356. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  357. package/dist-es/WAF.js.map +0 -1
  358. package/dist-es/WAFClient.js.map +0 -1
  359. package/dist-es/commands/CreateByteMatchSetCommand.js.map +0 -1
  360. package/dist-es/commands/CreateGeoMatchSetCommand.js.map +0 -1
  361. package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
  362. package/dist-es/commands/CreateRateBasedRuleCommand.js.map +0 -1
  363. package/dist-es/commands/CreateRegexMatchSetCommand.js.map +0 -1
  364. package/dist-es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  365. package/dist-es/commands/CreateRuleCommand.js.map +0 -1
  366. package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
  367. package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  368. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  369. package/dist-es/commands/CreateWebACLCommand.js.map +0 -1
  370. package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  371. package/dist-es/commands/CreateXssMatchSetCommand.js.map +0 -1
  372. package/dist-es/commands/DeleteByteMatchSetCommand.js.map +0 -1
  373. package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  374. package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
  375. package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  376. package/dist-es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  377. package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  378. package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  379. package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  380. package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
  381. package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
  382. package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  383. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  384. package/dist-es/commands/DeleteWebACLCommand.js.map +0 -1
  385. package/dist-es/commands/DeleteXssMatchSetCommand.js.map +0 -1
  386. package/dist-es/commands/GetByteMatchSetCommand.js.map +0 -1
  387. package/dist-es/commands/GetChangeTokenCommand.js.map +0 -1
  388. package/dist-es/commands/GetChangeTokenStatusCommand.js.map +0 -1
  389. package/dist-es/commands/GetGeoMatchSetCommand.js.map +0 -1
  390. package/dist-es/commands/GetIPSetCommand.js.map +0 -1
  391. package/dist-es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  392. package/dist-es/commands/GetPermissionPolicyCommand.js.map +0 -1
  393. package/dist-es/commands/GetRateBasedRuleCommand.js.map +0 -1
  394. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  395. package/dist-es/commands/GetRegexMatchSetCommand.js.map +0 -1
  396. package/dist-es/commands/GetRegexPatternSetCommand.js.map +0 -1
  397. package/dist-es/commands/GetRuleCommand.js.map +0 -1
  398. package/dist-es/commands/GetRuleGroupCommand.js.map +0 -1
  399. package/dist-es/commands/GetSampledRequestsCommand.js.map +0 -1
  400. package/dist-es/commands/GetSizeConstraintSetCommand.js.map +0 -1
  401. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  402. package/dist-es/commands/GetWebACLCommand.js.map +0 -1
  403. package/dist-es/commands/GetXssMatchSetCommand.js.map +0 -1
  404. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  405. package/dist-es/commands/ListByteMatchSetsCommand.js.map +0 -1
  406. package/dist-es/commands/ListGeoMatchSetsCommand.js.map +0 -1
  407. package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
  408. package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  409. package/dist-es/commands/ListRateBasedRulesCommand.js.map +0 -1
  410. package/dist-es/commands/ListRegexMatchSetsCommand.js.map +0 -1
  411. package/dist-es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  412. package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
  413. package/dist-es/commands/ListRulesCommand.js.map +0 -1
  414. package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  415. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  416. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  417. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  418. package/dist-es/commands/ListWebACLsCommand.js.map +0 -1
  419. package/dist-es/commands/ListXssMatchSetsCommand.js.map +0 -1
  420. package/dist-es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  421. package/dist-es/commands/PutPermissionPolicyCommand.js.map +0 -1
  422. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  423. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  424. package/dist-es/commands/UpdateByteMatchSetCommand.js.map +0 -1
  425. package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  426. package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
  427. package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  428. package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  429. package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  430. package/dist-es/commands/UpdateRuleCommand.js.map +0 -1
  431. package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
  432. package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  433. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  434. package/dist-es/commands/UpdateWebACLCommand.js.map +0 -1
  435. package/dist-es/commands/UpdateXssMatchSetCommand.js.map +0 -1
  436. package/dist-es/endpoints.js.map +0 -1
  437. package/dist-es/index.js.map +0 -1
  438. package/dist-es/models/index.js.map +0 -1
  439. package/dist-es/models/models_0.js.map +0 -1
  440. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  441. package/dist-es/runtimeConfig.browser.js.map +0 -1
  442. package/dist-es/runtimeConfig.js.map +0 -1
  443. package/dist-es/runtimeConfig.native.js.map +0 -1
  444. package/dist-es/runtimeConfig.shared.js.map +0 -1
  445. package/jest.config.js +0 -4
  446. package/src/WAF.ts +0 -4456
  447. package/src/WAFClient.ts +0 -576
  448. package/src/commands/CreateByteMatchSetCommand.ts +0 -126
  449. package/src/commands/CreateGeoMatchSetCommand.ts +0 -123
  450. package/src/commands/CreateIPSetCommand.ts +0 -128
  451. package/src/commands/CreateRateBasedRuleCommand.ts +0 -188
  452. package/src/commands/CreateRegexMatchSetCommand.ts +0 -126
  453. package/src/commands/CreateRegexPatternSetCommand.ts +0 -122
  454. package/src/commands/CreateRuleCommand.ts +0 -146
  455. package/src/commands/CreateRuleGroupCommand.ts +0 -117
  456. package/src/commands/CreateSizeConstraintSetCommand.ts +0 -126
  457. package/src/commands/CreateSqlInjectionMatchSetCommand.ts +0 -127
  458. package/src/commands/CreateWebACLCommand.ts +0 -134
  459. package/src/commands/CreateWebACLMigrationStackCommand.ts +0 -105
  460. package/src/commands/CreateXssMatchSetCommand.ts +0 -124
  461. package/src/commands/DeleteByteMatchSetCommand.ts +0 -118
  462. package/src/commands/DeleteGeoMatchSetCommand.ts +0 -118
  463. package/src/commands/DeleteIPSetCommand.ts +0 -118
  464. package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -107
  465. package/src/commands/DeletePermissionPolicyCommand.ts +0 -104
  466. package/src/commands/DeleteRateBasedRuleCommand.ts +0 -122
  467. package/src/commands/DeleteRegexMatchSetCommand.ts +0 -118
  468. package/src/commands/DeleteRegexPatternSetCommand.ts +0 -104
  469. package/src/commands/DeleteRuleCommand.ts +0 -118
  470. package/src/commands/DeleteRuleGroupCommand.ts +0 -118
  471. package/src/commands/DeleteSizeConstraintSetCommand.ts +0 -118
  472. package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -122
  473. package/src/commands/DeleteWebACLCommand.ts +0 -116
  474. package/src/commands/DeleteXssMatchSetCommand.ts +0 -119
  475. package/src/commands/GetByteMatchSetCommand.ts +0 -103
  476. package/src/commands/GetChangeTokenCommand.ts +0 -109
  477. package/src/commands/GetChangeTokenStatusCommand.ts +0 -119
  478. package/src/commands/GetGeoMatchSetCommand.ts +0 -103
  479. package/src/commands/GetIPSetCommand.ts +0 -96
  480. package/src/commands/GetLoggingConfigurationCommand.ts +0 -103
  481. package/src/commands/GetPermissionPolicyCommand.ts +0 -103
  482. package/src/commands/GetRateBasedRuleCommand.ts +0 -105
  483. package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -110
  484. package/src/commands/GetRegexMatchSetCommand.ts +0 -103
  485. package/src/commands/GetRegexPatternSetCommand.ts +0 -103
  486. package/src/commands/GetRuleCommand.ts +0 -96
  487. package/src/commands/GetRuleGroupCommand.ts +0 -104
  488. package/src/commands/GetSampledRequestsCommand.ts +0 -107
  489. package/src/commands/GetSizeConstraintSetCommand.ts +0 -103
  490. package/src/commands/GetSqlInjectionMatchSetCommand.ts +0 -103
  491. package/src/commands/GetWebACLCommand.ts +0 -96
  492. package/src/commands/GetXssMatchSetCommand.ts +0 -103
  493. package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -108
  494. package/src/commands/ListByteMatchSetsCommand.ts +0 -103
  495. package/src/commands/ListGeoMatchSetsCommand.ts +0 -103
  496. package/src/commands/ListIPSetsCommand.ts +0 -103
  497. package/src/commands/ListLoggingConfigurationsCommand.ts +0 -106
  498. package/src/commands/ListRateBasedRulesCommand.ts +0 -103
  499. package/src/commands/ListRegexMatchSetsCommand.ts +0 -103
  500. package/src/commands/ListRegexPatternSetsCommand.ts +0 -103
  501. package/src/commands/ListRuleGroupsCommand.ts +0 -103
  502. package/src/commands/ListRulesCommand.ts +0 -96
  503. package/src/commands/ListSizeConstraintSetsCommand.ts +0 -103
  504. package/src/commands/ListSqlInjectionMatchSetsCommand.ts +0 -106
  505. package/src/commands/ListSubscribedRuleGroupsCommand.ts +0 -103
  506. package/src/commands/ListTagsForResourceCommand.ts +0 -104
  507. package/src/commands/ListWebACLsCommand.ts +0 -103
  508. package/src/commands/ListXssMatchSetsCommand.ts +0 -103
  509. package/src/commands/PutLoggingConfigurationCommand.ts +0 -120
  510. package/src/commands/PutPermissionPolicyCommand.ts +0 -135
  511. package/src/commands/TagResourceCommand.ts +0 -104
  512. package/src/commands/UntagResourceCommand.ts +0 -103
  513. package/src/commands/UpdateByteMatchSetCommand.ts +0 -141
  514. package/src/commands/UpdateGeoMatchSetCommand.ts +0 -133
  515. package/src/commands/UpdateIPSetCommand.ts +0 -168
  516. package/src/commands/UpdateRateBasedRuleCommand.ts +0 -149
  517. package/src/commands/UpdateRegexMatchSetCommand.ts +0 -137
  518. package/src/commands/UpdateRegexPatternSetCommand.ts +0 -142
  519. package/src/commands/UpdateRuleCommand.ts +0 -144
  520. package/src/commands/UpdateRuleGroupCommand.ts +0 -127
  521. package/src/commands/UpdateSizeConstraintSetCommand.ts +0 -145
  522. package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -147
  523. package/src/commands/UpdateWebACLCommand.ts +0 -174
  524. package/src/commands/UpdateXssMatchSetCommand.ts +0 -146
  525. package/src/endpoints.ts +0 -68
  526. package/src/index.ts +0 -80
  527. package/src/models/index.ts +0 -1
  528. package/src/models/models_0.ts +0 -7494
  529. package/src/protocols/Aws_json1_1.ts +0 -11232
  530. package/src/runtimeConfig.browser.ts +0 -41
  531. package/src/runtimeConfig.native.ts +0 -17
  532. package/src/runtimeConfig.shared.ts +0 -17
  533. package/src/runtimeConfig.ts +0 -46
  534. package/tsconfig.es.json +0 -10
  535. package/tsconfig.json +0 -33
  536. package/tsconfig.types.json +0 -9
@@ -5,75 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
18
- * <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
19
- * <ul>
20
- * <li>
21
- * <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
22
- * </li>
23
- * <li>
24
- * <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
25
- * </li>
26
- * <li>
27
- *
28
- * <p>
29
- * <code>Effect</code> must specify <code>Allow</code>.</p>
30
- * </li>
31
- * <li>
32
- * <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
33
- * </li>
34
- * <li>
35
- * <p>The policy cannot include a <code>Resource</code> parameter.</p>
36
- * </li>
37
- * <li>
38
- * <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
39
- * </li>
40
- * <li>
41
- * <p>The user making the request must be the owner of the RuleGroup.</p>
42
- * </li>
43
- * <li>
44
- * <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
45
- * </li>
46
- * </ul>
47
- * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
48
- *
49
- * <p>An example of a valid policy parameter is shown in the Examples section below.</p>
50
- * @example
51
- * Use a bare-bones client and the command you need to make an API call.
52
- * ```javascript
53
- * import { WAFClient, PutPermissionPolicyCommand } from "@aws-sdk/client-waf"; // ES Modules import
54
- * // const { WAFClient, PutPermissionPolicyCommand } = require("@aws-sdk/client-waf"); // CommonJS import
55
- * const client = new WAFClient(config);
56
- * const command = new PutPermissionPolicyCommand(input);
57
- * const response = await client.send(command);
58
- * ```
59
- *
60
- * @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
61
- * @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
62
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
63
- *
64
- */
65
8
  class PutPermissionPolicyCommand extends smithy_client_1.Command {
66
- // Start section: command_properties
67
- // End section: command_properties
68
9
  constructor(input) {
69
- // Start section: command_constructor
70
10
  super();
71
11
  this.input = input;
72
- // End section: command_constructor
73
12
  }
74
- /**
75
- * @internal
76
- */
77
13
  resolveMiddleware(clientStack, configuration, options) {
78
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
79
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -98,4 +34,3 @@ class PutPermissionPolicyCommand extends smithy_client_1.Command {
98
34
  }
99
35
  }
100
36
  exports.PutPermissionPolicyCommand = PutPermissionPolicyCommand;
101
- //# sourceMappingURL=PutPermissionPolicyCommand.js.map
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Associates tags with the specified AWS resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
18
- * <p>Tagging is only available through the API, SDKs, and CLI. You can't manage or view tags through the AWS WAF Classic console. You can use this action to tag the AWS resources that you manage through AWS WAF Classic: web ACLs, rule groups, and rules. </p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { WAFClient, TagResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
23
- * // const { WAFClient, TagResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
24
- * const client = new WAFClient(config);
25
- * const command = new TagResourceCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link TagResourceCommandInput} for command's `input` shape.
30
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
31
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class TagResourceCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
67
34
  }
68
35
  }
69
36
  exports.TagResourceCommand = TagResourceCommand;
70
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p></p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { WAFClient, UntagResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
22
- * // const { WAFClient, UntagResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
23
- * const client = new WAFClient(config);
24
- * const command = new UntagResourceCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
29
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class UntagResourceCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
66
34
  }
67
35
  }
68
36
  exports.UntagResourceCommand = UntagResourceCommand;
69
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -5,81 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Inserts or deletes <a>ByteMatchTuple</a> objects (filters) in a <a>ByteMatchSet</a>. For each <code>ByteMatchTuple</code> object,
18
- * you specify the following values: </p>
19
- * <ul>
20
- * <li>
21
- * <p>Whether to insert or delete the object from the array. If you want to change a <code>ByteMatchSetUpdate</code> object,
22
- * you delete the existing object and add a new one.</p>
23
- * </li>
24
- * <li>
25
- * <p>The part of a web request that you want AWS WAF to inspect, such as a query string or the value of the <code>User-Agent</code> header. </p>
26
- * </li>
27
- * <li>
28
- * <p>The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to look for. For more information, including how you specify
29
- * the values for the AWS WAF API and the AWS CLI or SDKs, see <code>TargetString</code> in the <a>ByteMatchTuple</a> data type. </p>
30
- * </li>
31
- * <li>
32
- * <p>Where to look, such as at the beginning or the end of a query string.</p>
33
- * </li>
34
- * <li>
35
- * <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
36
- * </li>
37
- * </ul>
38
- * <p>For example, you can add a <code>ByteMatchSetUpdate</code> object that matches web requests in which <code>User-Agent</code> headers contain
39
- * the string <code>BadBot</code>. You can then configure AWS WAF to block those requests.</p>
40
- * <p>To create and configure a <code>ByteMatchSet</code>, perform the following steps:</p>
41
- * <ol>
42
- * <li>
43
- * <p>Create a <code>ByteMatchSet.</code> For more information, see <a>CreateByteMatchSet</a>.</p>
44
- * </li>
45
- * <li>
46
- * <p>Use <a>GetChangeToken</a> 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 <code>UpdateByteMatchSet</code> 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, UpdateByteMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
60
- * // const { WAFClient, UpdateByteMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
61
- * const client = new WAFClient(config);
62
- * const command = new UpdateByteMatchSetCommand(input);
63
- * const response = await client.send(command);
64
- * ```
65
- *
66
- * @see {@link UpdateByteMatchSetCommandInput} for command's `input` shape.
67
- * @see {@link UpdateByteMatchSetCommandOutput} for command's `response` shape.
68
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
69
- *
70
- */
71
8
  class UpdateByteMatchSetCommand extends smithy_client_1.Command {
72
- // Start section: command_properties
73
- // End section: command_properties
74
9
  constructor(input) {
75
- // Start section: command_constructor
76
10
  super();
77
11
  this.input = input;
78
- // End section: command_constructor
79
12
  }
80
- /**
81
- * @internal
82
- */
83
13
  resolveMiddleware(clientStack, configuration, options) {
84
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
85
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -104,4 +34,3 @@ class UpdateByteMatchSetCommand extends smithy_client_1.Command {
104
34
  }
105
35
  }
106
36
  exports.UpdateByteMatchSetCommand = UpdateByteMatchSetCommand;
107
- //# sourceMappingURL=UpdateByteMatchSetCommand.js.map
@@ -5,73 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Inserts or deletes <a>GeoMatchConstraint</a> objects in an <code>GeoMatchSet</code>. For each <code>GeoMatchConstraint</code> object,
18
- * you specify the following values: </p>
19
- * <ul>
20
- * <li>
21
- * <p>Whether to insert or delete the object from the array. If you want to change an <code>GeoMatchConstraint</code> object, you delete the existing object and add a new one.</p>
22
- * </li>
23
- * <li>
24
- * <p>The <code>Type</code>. The only valid value for <code>Type</code> is <code>Country</code>.</p>
25
- * </li>
26
- * <li>
27
- * <p>The <code>Value</code>, which is a two character code for the country to add to the <code>GeoMatchConstraint</code> object. Valid codes are listed in <a>GeoMatchConstraint$Value</a>.</p>
28
- * </li>
29
- * </ul>
30
- *
31
- * <p>To create and configure an <code>GeoMatchSet</code>, perform the following steps:</p>
32
- * <ol>
33
- * <li>
34
- * <p>Submit a <a>CreateGeoMatchSet</a> request.</p>
35
- * </li>
36
- * <li>
37
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
38
- * <a>UpdateGeoMatchSet</a> request.</p>
39
- * </li>
40
- * <li>
41
- * <p>Submit an <code>UpdateGeoMatchSet</code> request to specify the country that you want AWS WAF to watch for.</p>
42
- * </li>
43
- * </ol>
44
- * <p>When you update an <code>GeoMatchSet</code>, you specify the country that you want to add and/or the country that you want to delete.
45
- * If you want to change a country, you delete the existing country and add the new one.</p>
46
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
47
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
48
- * @example
49
- * Use a bare-bones client and the command you need to make an API call.
50
- * ```javascript
51
- * import { WAFClient, UpdateGeoMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
52
- * // const { WAFClient, UpdateGeoMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
53
- * const client = new WAFClient(config);
54
- * const command = new UpdateGeoMatchSetCommand(input);
55
- * const response = await client.send(command);
56
- * ```
57
- *
58
- * @see {@link UpdateGeoMatchSetCommandInput} for command's `input` shape.
59
- * @see {@link UpdateGeoMatchSetCommandOutput} for command's `response` shape.
60
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
61
- *
62
- */
63
8
  class UpdateGeoMatchSetCommand extends smithy_client_1.Command {
64
- // Start section: command_properties
65
- // End section: command_properties
66
9
  constructor(input) {
67
- // Start section: command_constructor
68
10
  super();
69
11
  this.input = input;
70
- // End section: command_constructor
71
12
  }
72
- /**
73
- * @internal
74
- */
75
13
  resolveMiddleware(clientStack, configuration, options) {
76
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
77
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -96,4 +34,3 @@ class UpdateGeoMatchSetCommand extends smithy_client_1.Command {
96
34
  }
97
35
  }
98
36
  exports.UpdateGeoMatchSetCommand = UpdateGeoMatchSetCommand;
99
- //# sourceMappingURL=UpdateGeoMatchSetCommand.js.map
@@ -5,108 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Inserts or deletes <a>IPSetDescriptor</a> objects in an
18
- * <code>IPSet</code>. For each <code>IPSetDescriptor</code> object, you specify the following
19
- * values: </p>
20
- * <ul>
21
- * <li>
22
- * <p>Whether to insert or delete the object from the array. If you want to change an
23
- * <code>IPSetDescriptor</code> object, you delete the existing object and add a new
24
- * one.</p>
25
- * </li>
26
- * <li>
27
- * <p>The IP address version, <code>IPv4</code> or <code>IPv6</code>. </p>
28
- * </li>
29
- * <li>
30
- * <p>The IP address in CIDR notation, for example, <code>192.0.2.0/24</code> (for
31
- * the range of IP addresses from <code>192.0.2.0</code> to <code>192.0.2.255</code>) or
32
- * <code>192.0.2.44/32</code> (for the individual IP address
33
- * <code>192.0.2.44</code>). </p>
34
- * </li>
35
- * </ul>
36
- * <p>AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS
37
- * WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. For more
38
- * information about CIDR notation, see the Wikipedia entry <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Classless
39
- * Inter-Domain Routing</a>.</p>
40
- * <p>IPv6 addresses can be represented using any of the following formats:</p>
41
- * <ul>
42
- * <li>
43
- * <p>1111:0000:0000:0000:0000:0000:0000:0111/128</p>
44
- * </li>
45
- * <li>
46
- * <p>1111:0:0:0:0:0:0:0111/128</p>
47
- * </li>
48
- * <li>
49
- * <p>1111::0111/128</p>
50
- * </li>
51
- * <li>
52
- * <p>1111::111/128</p>
53
- * </li>
54
- * </ul>
55
- * <p>You use an <code>IPSet</code> to specify which web requests you want to allow or
56
- * block based on the IP addresses that the requests originated from. For example, if you're
57
- * receiving a lot of requests from one or a small number of IP addresses and you want to
58
- * block the requests, you can create an <code>IPSet</code> that specifies those IP addresses,
59
- * and then configure AWS WAF to block the requests. </p>
60
- * <p>To create and configure an <code>IPSet</code>, perform the following steps:</p>
61
- * <ol>
62
- * <li>
63
- * <p>Submit a <a>CreateIPSet</a> request.</p>
64
- * </li>
65
- * <li>
66
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide
67
- * in the <code>ChangeToken</code> parameter of an <a>UpdateIPSet</a>
68
- * request.</p>
69
- * </li>
70
- * <li>
71
- * <p>Submit an <code>UpdateIPSet</code> request to specify the IP addresses that you
72
- * want AWS WAF to watch for.</p>
73
- * </li>
74
- * </ol>
75
- * <p>When you update an <code>IPSet</code>, you specify the IP addresses that you want to
76
- * add and/or the IP addresses that you want to delete. If you want to change an IP address,
77
- * you delete the existing IP address and add the new one.</p>
78
- * <p>You can insert a maximum of 1000 addresses in a single
79
- * request.</p>
80
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP
81
- * requests, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF
82
- * Developer Guide</a>.</p>
83
- * @example
84
- * Use a bare-bones client and the command you need to make an API call.
85
- * ```javascript
86
- * import { WAFClient, UpdateIPSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
87
- * // const { WAFClient, UpdateIPSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
88
- * const client = new WAFClient(config);
89
- * const command = new UpdateIPSetCommand(input);
90
- * const response = await client.send(command);
91
- * ```
92
- *
93
- * @see {@link UpdateIPSetCommandInput} for command's `input` shape.
94
- * @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
95
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
96
- *
97
- */
98
8
  class UpdateIPSetCommand extends smithy_client_1.Command {
99
- // Start section: command_properties
100
- // End section: command_properties
101
9
  constructor(input) {
102
- // Start section: command_constructor
103
10
  super();
104
11
  this.input = input;
105
- // End section: command_constructor
106
12
  }
107
- /**
108
- * @internal
109
- */
110
13
  resolveMiddleware(clientStack, configuration, options) {
111
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
112
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -131,4 +34,3 @@ class UpdateIPSetCommand extends smithy_client_1.Command {
131
34
  }
132
35
  }
133
36
  exports.UpdateIPSetCommand = UpdateIPSetCommand;
134
- //# sourceMappingURL=UpdateIPSetCommand.js.map
@@ -5,89 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Inserts or deletes <a>Predicate</a> objects in a rule and updates the
18
- * <code>RateLimit</code> in the rule. </p>
19
- * <p>Each <code>Predicate</code> object identifies a predicate, such as a <a>ByteMatchSet</a> or an <a>IPSet</a>, that specifies the web requests
20
- * that you want to block or count. The <code>RateLimit</code> specifies the number of
21
- * requests every five minutes that triggers the rule.</p>
22
- * <p>If you add more than one predicate to a <code>RateBasedRule</code>, a request must
23
- * match all the predicates and exceed the <code>RateLimit</code> to be counted or blocked.
24
- * For example, suppose you add the following to a <code>RateBasedRule</code>:</p>
25
- * <ul>
26
- * <li>
27
- * <p>An <code>IPSet</code> that matches the IP address <code>192.0.2.44/32</code>
28
- * </p>
29
- * </li>
30
- * <li>
31
- * <p>A <code>ByteMatchSet</code> that matches <code>BadBot</code> in the
32
- * <code>User-Agent</code> header</p>
33
- * </li>
34
- * </ul>
35
- * <p>Further, you specify a
36
- * <code>RateLimit</code> of 1,000.</p>
37
- * <p>You then add the <code>RateBasedRule</code> to a <code>WebACL</code> and specify that
38
- * you want to block requests that satisfy the rule. For a request to be blocked, it must come
39
- * from the IP address 192.0.2.44 <i>and</i> the <code>User-Agent</code> header
40
- * in the request must contain the value <code>BadBot</code>. Further, requests that match
41
- * these two conditions much be received at a rate of more than 1,000 every five minutes. If
42
- * the rate drops below this limit, AWS WAF no longer blocks the requests.</p>
43
- *
44
- * <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
45
- * <code>RateBasedRule</code>:</p>
46
- *
47
- *
48
- * <ul>
49
- * <li>
50
- * <p>A <code>ByteMatchSet</code> with <code>FieldToMatch</code> of <code>URI</code>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>A <code>PositionalConstraint</code> of <code>STARTS_WITH</code>
55
- * </p>
56
- * </li>
57
- * <li>
58
- * <p>A <code>TargetString</code> of <code>login</code>
59
- * </p>
60
- * </li>
61
- * </ul>
62
- * <p>Further, you specify a <code>RateLimit</code> of 1,000.</p>
63
- * <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>
64
- * @example
65
- * Use a bare-bones client and the command you need to make an API call.
66
- * ```javascript
67
- * import { WAFClient, UpdateRateBasedRuleCommand } from "@aws-sdk/client-waf"; // ES Modules import
68
- * // const { WAFClient, UpdateRateBasedRuleCommand } = require("@aws-sdk/client-waf"); // CommonJS import
69
- * const client = new WAFClient(config);
70
- * const command = new UpdateRateBasedRuleCommand(input);
71
- * const response = await client.send(command);
72
- * ```
73
- *
74
- * @see {@link UpdateRateBasedRuleCommandInput} for command's `input` shape.
75
- * @see {@link UpdateRateBasedRuleCommandOutput} for command's `response` shape.
76
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
77
- *
78
- */
79
8
  class UpdateRateBasedRuleCommand extends smithy_client_1.Command {
80
- // Start section: command_properties
81
- // End section: command_properties
82
9
  constructor(input) {
83
- // Start section: command_constructor
84
10
  super();
85
11
  this.input = input;
86
- // End section: command_constructor
87
12
  }
88
- /**
89
- * @internal
90
- */
91
13
  resolveMiddleware(clientStack, configuration, options) {
92
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
93
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -112,4 +34,3 @@ class UpdateRateBasedRuleCommand extends smithy_client_1.Command {
112
34
  }
113
35
  }
114
36
  exports.UpdateRateBasedRuleCommand = UpdateRateBasedRuleCommand;
115
- //# sourceMappingURL=UpdateRateBasedRuleCommand.js.map
@@ -5,77 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <note>
10
- * <p>This is <b>AWS WAF Classic</b> documentation. For
11
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
12
- * WAF Classic</a> in the developer guide.</p>
13
- * <p>
14
- * <b>For the latest version of AWS
15
- * 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>
16
- * </note>
17
- * <p>Inserts or deletes <a>RegexMatchTuple</a> objects (filters) in a <a>RegexMatchSet</a>. For each <code>RegexMatchSetUpdate</code> object,
18
- * you specify the following values: </p>
19
- * <ul>
20
- * <li>
21
- * <p>Whether to insert or delete the object from the array. If you want to change a <code>RegexMatchSetUpdate</code> object,
22
- * you delete the existing object and add a new one.</p>
23
- * </li>
24
- * <li>
25
- * <p>The part of a web request that you want AWS WAF to inspectupdate, such as a query string or the value of the <code>User-Agent</code> header. </p>
26
- * </li>
27
- * <li>
28
- * <p>The identifier of the pattern (a regular expression) that you want AWS WAF to look for. For more information, see <a>RegexPatternSet</a>. </p>
29
- * </li>
30
- * <li>
31
- * <p>Whether to perform any conversions on the request, such as converting it to lowercase, before inspecting it for the specified string.</p>
32
- * </li>
33
- * </ul>
34
- * <p> For example, you can create a <code>RegexPatternSet</code> that matches any requests with <code>User-Agent</code> headers
35
- * that contain the string <code>B[a@]dB[o0]t</code>. You can then configure AWS WAF to reject those requests.</p>
36
- * <p>To create and configure a <code>RegexMatchSet</code>, perform the following steps:</p>
37
- * <ol>
38
- * <li>
39
- * <p>Create a <code>RegexMatchSet.</code> For more information, see <a>CreateRegexMatchSet</a>.</p>
40
- * </li>
41
- * <li>
42
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
43
- * <code>UpdateRegexMatchSet</code> request.</p>
44
- * </li>
45
- * <li>
46
- * <p>Submit an <code>UpdateRegexMatchSet</code> request to specify the part of the request that you want AWS WAF to inspect
47
- * (for example, the header or the URI) and the identifier of the <code>RegexPatternSet</code> that contain the regular expression patters you want AWS WAF to watch for.</p>
48
- * </li>
49
- * </ol>
50
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
51
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
52
- * @example
53
- * Use a bare-bones client and the command you need to make an API call.
54
- * ```javascript
55
- * import { WAFClient, UpdateRegexMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
56
- * // const { WAFClient, UpdateRegexMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
57
- * const client = new WAFClient(config);
58
- * const command = new UpdateRegexMatchSetCommand(input);
59
- * const response = await client.send(command);
60
- * ```
61
- *
62
- * @see {@link UpdateRegexMatchSetCommandInput} for command's `input` shape.
63
- * @see {@link UpdateRegexMatchSetCommandOutput} for command's `response` shape.
64
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
65
- *
66
- */
67
8
  class UpdateRegexMatchSetCommand extends smithy_client_1.Command {
68
- // Start section: command_properties
69
- // End section: command_properties
70
9
  constructor(input) {
71
- // Start section: command_constructor
72
10
  super();
73
11
  this.input = input;
74
- // End section: command_constructor
75
12
  }
76
- /**
77
- * @internal
78
- */
79
13
  resolveMiddleware(clientStack, configuration, options) {
80
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
81
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -100,4 +34,3 @@ class UpdateRegexMatchSetCommand extends smithy_client_1.Command {
100
34
  }
101
35
  }
102
36
  exports.UpdateRegexMatchSetCommand = UpdateRegexMatchSetCommand;
103
- //# sourceMappingURL=UpdateRegexMatchSetCommand.js.map