@aws-sdk/client-waf 3.35.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 (446) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/WAF.js +0 -1
  3. package/dist-cjs/WAFClient.js +0 -1
  4. package/dist-cjs/commands/CreateByteMatchSetCommand.js +0 -1
  5. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +0 -1
  6. package/dist-cjs/commands/CreateIPSetCommand.js +0 -1
  7. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +0 -1
  8. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +0 -1
  9. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +0 -1
  10. package/dist-cjs/commands/CreateRuleCommand.js +0 -1
  11. package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
  12. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +0 -1
  13. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
  14. package/dist-cjs/commands/CreateWebACLCommand.js +0 -1
  15. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +0 -1
  16. package/dist-cjs/commands/CreateXssMatchSetCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteIPSetCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +0 -1
  21. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +0 -1
  22. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +0 -1
  23. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +0 -1
  24. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +0 -1
  25. package/dist-cjs/commands/DeleteRuleCommand.js +0 -1
  26. package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
  27. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +0 -1
  28. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
  29. package/dist-cjs/commands/DeleteWebACLCommand.js +0 -1
  30. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +0 -1
  31. package/dist-cjs/commands/GetByteMatchSetCommand.js +0 -1
  32. package/dist-cjs/commands/GetChangeTokenCommand.js +0 -1
  33. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +0 -1
  34. package/dist-cjs/commands/GetGeoMatchSetCommand.js +0 -1
  35. package/dist-cjs/commands/GetIPSetCommand.js +0 -1
  36. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +0 -1
  37. package/dist-cjs/commands/GetPermissionPolicyCommand.js +0 -1
  38. package/dist-cjs/commands/GetRateBasedRuleCommand.js +0 -1
  39. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
  40. package/dist-cjs/commands/GetRegexMatchSetCommand.js +0 -1
  41. package/dist-cjs/commands/GetRegexPatternSetCommand.js +0 -1
  42. package/dist-cjs/commands/GetRuleCommand.js +0 -1
  43. package/dist-cjs/commands/GetRuleGroupCommand.js +0 -1
  44. package/dist-cjs/commands/GetSampledRequestsCommand.js +0 -1
  45. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +0 -1
  46. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +0 -1
  47. package/dist-cjs/commands/GetWebACLCommand.js +0 -1
  48. package/dist-cjs/commands/GetXssMatchSetCommand.js +0 -1
  49. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
  50. package/dist-cjs/commands/ListByteMatchSetsCommand.js +0 -1
  51. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +0 -1
  52. package/dist-cjs/commands/ListIPSetsCommand.js +0 -1
  53. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +0 -1
  54. package/dist-cjs/commands/ListRateBasedRulesCommand.js +0 -1
  55. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +0 -1
  56. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +0 -1
  57. package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
  58. package/dist-cjs/commands/ListRulesCommand.js +0 -1
  59. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +0 -1
  60. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
  61. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +0 -1
  62. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  63. package/dist-cjs/commands/ListWebACLsCommand.js +0 -1
  64. package/dist-cjs/commands/ListXssMatchSetsCommand.js +0 -1
  65. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +0 -1
  66. package/dist-cjs/commands/PutPermissionPolicyCommand.js +0 -1
  67. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  68. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  69. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +0 -1
  70. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +0 -1
  71. package/dist-cjs/commands/UpdateIPSetCommand.js +0 -1
  72. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +0 -1
  73. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +0 -1
  74. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +0 -1
  75. package/dist-cjs/commands/UpdateRuleCommand.js +0 -1
  76. package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
  77. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +0 -1
  78. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
  79. package/dist-cjs/commands/UpdateWebACLCommand.js +0 -1
  80. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +0 -1
  81. package/dist-cjs/endpoints.js +0 -1
  82. package/dist-cjs/index.js +0 -1
  83. package/dist-cjs/models/index.js +0 -1
  84. package/dist-cjs/models/models_0.js +0 -1
  85. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  86. package/dist-cjs/runtimeConfig.browser.js +2 -3
  87. package/dist-cjs/runtimeConfig.js +3 -4
  88. package/dist-cjs/runtimeConfig.native.js +0 -1
  89. package/dist-cjs/runtimeConfig.shared.js +0 -1
  90. package/dist-es/WAF.js +0 -1
  91. package/dist-es/WAFClient.js +0 -1
  92. package/dist-es/commands/CreateByteMatchSetCommand.js +0 -1
  93. package/dist-es/commands/CreateGeoMatchSetCommand.js +0 -1
  94. package/dist-es/commands/CreateIPSetCommand.js +0 -1
  95. package/dist-es/commands/CreateRateBasedRuleCommand.js +0 -1
  96. package/dist-es/commands/CreateRegexMatchSetCommand.js +0 -1
  97. package/dist-es/commands/CreateRegexPatternSetCommand.js +0 -1
  98. package/dist-es/commands/CreateRuleCommand.js +0 -1
  99. package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
  100. package/dist-es/commands/CreateSizeConstraintSetCommand.js +0 -1
  101. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +0 -1
  102. package/dist-es/commands/CreateWebACLCommand.js +0 -1
  103. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +0 -1
  104. package/dist-es/commands/CreateXssMatchSetCommand.js +0 -1
  105. package/dist-es/commands/DeleteByteMatchSetCommand.js +0 -1
  106. package/dist-es/commands/DeleteGeoMatchSetCommand.js +0 -1
  107. package/dist-es/commands/DeleteIPSetCommand.js +0 -1
  108. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +0 -1
  109. package/dist-es/commands/DeletePermissionPolicyCommand.js +0 -1
  110. package/dist-es/commands/DeleteRateBasedRuleCommand.js +0 -1
  111. package/dist-es/commands/DeleteRegexMatchSetCommand.js +0 -1
  112. package/dist-es/commands/DeleteRegexPatternSetCommand.js +0 -1
  113. package/dist-es/commands/DeleteRuleCommand.js +0 -1
  114. package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
  115. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +0 -1
  116. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +0 -1
  117. package/dist-es/commands/DeleteWebACLCommand.js +0 -1
  118. package/dist-es/commands/DeleteXssMatchSetCommand.js +0 -1
  119. package/dist-es/commands/GetByteMatchSetCommand.js +0 -1
  120. package/dist-es/commands/GetChangeTokenCommand.js +0 -1
  121. package/dist-es/commands/GetChangeTokenStatusCommand.js +0 -1
  122. package/dist-es/commands/GetGeoMatchSetCommand.js +0 -1
  123. package/dist-es/commands/GetIPSetCommand.js +0 -1
  124. package/dist-es/commands/GetLoggingConfigurationCommand.js +0 -1
  125. package/dist-es/commands/GetPermissionPolicyCommand.js +0 -1
  126. package/dist-es/commands/GetRateBasedRuleCommand.js +0 -1
  127. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +0 -1
  128. package/dist-es/commands/GetRegexMatchSetCommand.js +0 -1
  129. package/dist-es/commands/GetRegexPatternSetCommand.js +0 -1
  130. package/dist-es/commands/GetRuleCommand.js +0 -1
  131. package/dist-es/commands/GetRuleGroupCommand.js +0 -1
  132. package/dist-es/commands/GetSampledRequestsCommand.js +0 -1
  133. package/dist-es/commands/GetSizeConstraintSetCommand.js +0 -1
  134. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +0 -1
  135. package/dist-es/commands/GetWebACLCommand.js +0 -1
  136. package/dist-es/commands/GetXssMatchSetCommand.js +0 -1
  137. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +0 -1
  138. package/dist-es/commands/ListByteMatchSetsCommand.js +0 -1
  139. package/dist-es/commands/ListGeoMatchSetsCommand.js +0 -1
  140. package/dist-es/commands/ListIPSetsCommand.js +0 -1
  141. package/dist-es/commands/ListLoggingConfigurationsCommand.js +0 -1
  142. package/dist-es/commands/ListRateBasedRulesCommand.js +0 -1
  143. package/dist-es/commands/ListRegexMatchSetsCommand.js +0 -1
  144. package/dist-es/commands/ListRegexPatternSetsCommand.js +0 -1
  145. package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
  146. package/dist-es/commands/ListRulesCommand.js +0 -1
  147. package/dist-es/commands/ListSizeConstraintSetsCommand.js +0 -1
  148. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +0 -1
  149. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +0 -1
  150. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  151. package/dist-es/commands/ListWebACLsCommand.js +0 -1
  152. package/dist-es/commands/ListXssMatchSetsCommand.js +0 -1
  153. package/dist-es/commands/PutLoggingConfigurationCommand.js +0 -1
  154. package/dist-es/commands/PutPermissionPolicyCommand.js +0 -1
  155. package/dist-es/commands/TagResourceCommand.js +0 -1
  156. package/dist-es/commands/UntagResourceCommand.js +0 -1
  157. package/dist-es/commands/UpdateByteMatchSetCommand.js +0 -1
  158. package/dist-es/commands/UpdateGeoMatchSetCommand.js +0 -1
  159. package/dist-es/commands/UpdateIPSetCommand.js +0 -1
  160. package/dist-es/commands/UpdateRateBasedRuleCommand.js +0 -1
  161. package/dist-es/commands/UpdateRegexMatchSetCommand.js +0 -1
  162. package/dist-es/commands/UpdateRegexPatternSetCommand.js +0 -1
  163. package/dist-es/commands/UpdateRuleCommand.js +0 -1
  164. package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
  165. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +0 -1
  166. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +0 -1
  167. package/dist-es/commands/UpdateWebACLCommand.js +0 -1
  168. package/dist-es/commands/UpdateXssMatchSetCommand.js +0 -1
  169. package/dist-es/endpoints.js +0 -1
  170. package/dist-es/index.js +0 -1
  171. package/dist-es/models/index.js +0 -1
  172. package/dist-es/models/models_0.js +0 -1
  173. package/dist-es/protocols/Aws_json1_1.js +0 -1
  174. package/dist-es/runtimeConfig.browser.js +1 -2
  175. package/dist-es/runtimeConfig.js +2 -3
  176. package/dist-es/runtimeConfig.native.js +0 -1
  177. package/dist-es/runtimeConfig.shared.js +0 -1
  178. package/package.json +33 -30
  179. package/dist-cjs/WAF.js.map +0 -1
  180. package/dist-cjs/WAFClient.js.map +0 -1
  181. package/dist-cjs/commands/CreateByteMatchSetCommand.js.map +0 -1
  182. package/dist-cjs/commands/CreateGeoMatchSetCommand.js.map +0 -1
  183. package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
  184. package/dist-cjs/commands/CreateRateBasedRuleCommand.js.map +0 -1
  185. package/dist-cjs/commands/CreateRegexMatchSetCommand.js.map +0 -1
  186. package/dist-cjs/commands/CreateRegexPatternSetCommand.js.map +0 -1
  187. package/dist-cjs/commands/CreateRuleCommand.js.map +0 -1
  188. package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  189. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  190. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  191. package/dist-cjs/commands/CreateWebACLCommand.js.map +0 -1
  192. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  193. package/dist-cjs/commands/CreateXssMatchSetCommand.js.map +0 -1
  194. package/dist-cjs/commands/DeleteByteMatchSetCommand.js.map +0 -1
  195. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  196. package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
  197. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  198. package/dist-cjs/commands/DeletePermissionPolicyCommand.js.map +0 -1
  199. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  200. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  201. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  202. package/dist-cjs/commands/DeleteRuleCommand.js.map +0 -1
  203. package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  204. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  205. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  206. package/dist-cjs/commands/DeleteWebACLCommand.js.map +0 -1
  207. package/dist-cjs/commands/DeleteXssMatchSetCommand.js.map +0 -1
  208. package/dist-cjs/commands/GetByteMatchSetCommand.js.map +0 -1
  209. package/dist-cjs/commands/GetChangeTokenCommand.js.map +0 -1
  210. package/dist-cjs/commands/GetChangeTokenStatusCommand.js.map +0 -1
  211. package/dist-cjs/commands/GetGeoMatchSetCommand.js.map +0 -1
  212. package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
  213. package/dist-cjs/commands/GetLoggingConfigurationCommand.js.map +0 -1
  214. package/dist-cjs/commands/GetPermissionPolicyCommand.js.map +0 -1
  215. package/dist-cjs/commands/GetRateBasedRuleCommand.js.map +0 -1
  216. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  217. package/dist-cjs/commands/GetRegexMatchSetCommand.js.map +0 -1
  218. package/dist-cjs/commands/GetRegexPatternSetCommand.js.map +0 -1
  219. package/dist-cjs/commands/GetRuleCommand.js.map +0 -1
  220. package/dist-cjs/commands/GetRuleGroupCommand.js.map +0 -1
  221. package/dist-cjs/commands/GetSampledRequestsCommand.js.map +0 -1
  222. package/dist-cjs/commands/GetSizeConstraintSetCommand.js.map +0 -1
  223. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  224. package/dist-cjs/commands/GetWebACLCommand.js.map +0 -1
  225. package/dist-cjs/commands/GetXssMatchSetCommand.js.map +0 -1
  226. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  227. package/dist-cjs/commands/ListByteMatchSetsCommand.js.map +0 -1
  228. package/dist-cjs/commands/ListGeoMatchSetsCommand.js.map +0 -1
  229. package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
  230. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  231. package/dist-cjs/commands/ListRateBasedRulesCommand.js.map +0 -1
  232. package/dist-cjs/commands/ListRegexMatchSetsCommand.js.map +0 -1
  233. package/dist-cjs/commands/ListRegexPatternSetsCommand.js.map +0 -1
  234. package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  235. package/dist-cjs/commands/ListRulesCommand.js.map +0 -1
  236. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  237. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  238. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  239. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  240. package/dist-cjs/commands/ListWebACLsCommand.js.map +0 -1
  241. package/dist-cjs/commands/ListXssMatchSetsCommand.js.map +0 -1
  242. package/dist-cjs/commands/PutLoggingConfigurationCommand.js.map +0 -1
  243. package/dist-cjs/commands/PutPermissionPolicyCommand.js.map +0 -1
  244. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  245. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  246. package/dist-cjs/commands/UpdateByteMatchSetCommand.js.map +0 -1
  247. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  248. package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
  249. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  250. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  251. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  252. package/dist-cjs/commands/UpdateRuleCommand.js.map +0 -1
  253. package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  254. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  255. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  256. package/dist-cjs/commands/UpdateWebACLCommand.js.map +0 -1
  257. package/dist-cjs/commands/UpdateXssMatchSetCommand.js.map +0 -1
  258. package/dist-cjs/endpoints.js.map +0 -1
  259. package/dist-cjs/index.js.map +0 -1
  260. package/dist-cjs/models/index.js.map +0 -1
  261. package/dist-cjs/models/models_0.js.map +0 -1
  262. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  263. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  264. package/dist-cjs/runtimeConfig.js.map +0 -1
  265. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  266. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  267. package/dist-es/WAF.js.map +0 -1
  268. package/dist-es/WAFClient.js.map +0 -1
  269. package/dist-es/commands/CreateByteMatchSetCommand.js.map +0 -1
  270. package/dist-es/commands/CreateGeoMatchSetCommand.js.map +0 -1
  271. package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
  272. package/dist-es/commands/CreateRateBasedRuleCommand.js.map +0 -1
  273. package/dist-es/commands/CreateRegexMatchSetCommand.js.map +0 -1
  274. package/dist-es/commands/CreateRegexPatternSetCommand.js.map +0 -1
  275. package/dist-es/commands/CreateRuleCommand.js.map +0 -1
  276. package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
  277. package/dist-es/commands/CreateSizeConstraintSetCommand.js.map +0 -1
  278. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js.map +0 -1
  279. package/dist-es/commands/CreateWebACLCommand.js.map +0 -1
  280. package/dist-es/commands/CreateWebACLMigrationStackCommand.js.map +0 -1
  281. package/dist-es/commands/CreateXssMatchSetCommand.js.map +0 -1
  282. package/dist-es/commands/DeleteByteMatchSetCommand.js.map +0 -1
  283. package/dist-es/commands/DeleteGeoMatchSetCommand.js.map +0 -1
  284. package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
  285. package/dist-es/commands/DeleteLoggingConfigurationCommand.js.map +0 -1
  286. package/dist-es/commands/DeletePermissionPolicyCommand.js.map +0 -1
  287. package/dist-es/commands/DeleteRateBasedRuleCommand.js.map +0 -1
  288. package/dist-es/commands/DeleteRegexMatchSetCommand.js.map +0 -1
  289. package/dist-es/commands/DeleteRegexPatternSetCommand.js.map +0 -1
  290. package/dist-es/commands/DeleteRuleCommand.js.map +0 -1
  291. package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
  292. package/dist-es/commands/DeleteSizeConstraintSetCommand.js.map +0 -1
  293. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js.map +0 -1
  294. package/dist-es/commands/DeleteWebACLCommand.js.map +0 -1
  295. package/dist-es/commands/DeleteXssMatchSetCommand.js.map +0 -1
  296. package/dist-es/commands/GetByteMatchSetCommand.js.map +0 -1
  297. package/dist-es/commands/GetChangeTokenCommand.js.map +0 -1
  298. package/dist-es/commands/GetChangeTokenStatusCommand.js.map +0 -1
  299. package/dist-es/commands/GetGeoMatchSetCommand.js.map +0 -1
  300. package/dist-es/commands/GetIPSetCommand.js.map +0 -1
  301. package/dist-es/commands/GetLoggingConfigurationCommand.js.map +0 -1
  302. package/dist-es/commands/GetPermissionPolicyCommand.js.map +0 -1
  303. package/dist-es/commands/GetRateBasedRuleCommand.js.map +0 -1
  304. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js.map +0 -1
  305. package/dist-es/commands/GetRegexMatchSetCommand.js.map +0 -1
  306. package/dist-es/commands/GetRegexPatternSetCommand.js.map +0 -1
  307. package/dist-es/commands/GetRuleCommand.js.map +0 -1
  308. package/dist-es/commands/GetRuleGroupCommand.js.map +0 -1
  309. package/dist-es/commands/GetSampledRequestsCommand.js.map +0 -1
  310. package/dist-es/commands/GetSizeConstraintSetCommand.js.map +0 -1
  311. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js.map +0 -1
  312. package/dist-es/commands/GetWebACLCommand.js.map +0 -1
  313. package/dist-es/commands/GetXssMatchSetCommand.js.map +0 -1
  314. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js.map +0 -1
  315. package/dist-es/commands/ListByteMatchSetsCommand.js.map +0 -1
  316. package/dist-es/commands/ListGeoMatchSetsCommand.js.map +0 -1
  317. package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
  318. package/dist-es/commands/ListLoggingConfigurationsCommand.js.map +0 -1
  319. package/dist-es/commands/ListRateBasedRulesCommand.js.map +0 -1
  320. package/dist-es/commands/ListRegexMatchSetsCommand.js.map +0 -1
  321. package/dist-es/commands/ListRegexPatternSetsCommand.js.map +0 -1
  322. package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
  323. package/dist-es/commands/ListRulesCommand.js.map +0 -1
  324. package/dist-es/commands/ListSizeConstraintSetsCommand.js.map +0 -1
  325. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js.map +0 -1
  326. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js.map +0 -1
  327. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  328. package/dist-es/commands/ListWebACLsCommand.js.map +0 -1
  329. package/dist-es/commands/ListXssMatchSetsCommand.js.map +0 -1
  330. package/dist-es/commands/PutLoggingConfigurationCommand.js.map +0 -1
  331. package/dist-es/commands/PutPermissionPolicyCommand.js.map +0 -1
  332. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  333. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  334. package/dist-es/commands/UpdateByteMatchSetCommand.js.map +0 -1
  335. package/dist-es/commands/UpdateGeoMatchSetCommand.js.map +0 -1
  336. package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
  337. package/dist-es/commands/UpdateRateBasedRuleCommand.js.map +0 -1
  338. package/dist-es/commands/UpdateRegexMatchSetCommand.js.map +0 -1
  339. package/dist-es/commands/UpdateRegexPatternSetCommand.js.map +0 -1
  340. package/dist-es/commands/UpdateRuleCommand.js.map +0 -1
  341. package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
  342. package/dist-es/commands/UpdateSizeConstraintSetCommand.js.map +0 -1
  343. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js.map +0 -1
  344. package/dist-es/commands/UpdateWebACLCommand.js.map +0 -1
  345. package/dist-es/commands/UpdateXssMatchSetCommand.js.map +0 -1
  346. package/dist-es/endpoints.js.map +0 -1
  347. package/dist-es/index.js.map +0 -1
  348. package/dist-es/models/index.js.map +0 -1
  349. package/dist-es/models/models_0.js.map +0 -1
  350. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  351. package/dist-es/runtimeConfig.browser.js.map +0 -1
  352. package/dist-es/runtimeConfig.js.map +0 -1
  353. package/dist-es/runtimeConfig.native.js.map +0 -1
  354. package/dist-es/runtimeConfig.shared.js.map +0 -1
  355. package/jest.config.js +0 -4
  356. package/src/WAF.ts +0 -4456
  357. package/src/WAFClient.ts +0 -576
  358. package/src/commands/CreateByteMatchSetCommand.ts +0 -126
  359. package/src/commands/CreateGeoMatchSetCommand.ts +0 -123
  360. package/src/commands/CreateIPSetCommand.ts +0 -128
  361. package/src/commands/CreateRateBasedRuleCommand.ts +0 -188
  362. package/src/commands/CreateRegexMatchSetCommand.ts +0 -126
  363. package/src/commands/CreateRegexPatternSetCommand.ts +0 -122
  364. package/src/commands/CreateRuleCommand.ts +0 -146
  365. package/src/commands/CreateRuleGroupCommand.ts +0 -117
  366. package/src/commands/CreateSizeConstraintSetCommand.ts +0 -126
  367. package/src/commands/CreateSqlInjectionMatchSetCommand.ts +0 -127
  368. package/src/commands/CreateWebACLCommand.ts +0 -134
  369. package/src/commands/CreateWebACLMigrationStackCommand.ts +0 -105
  370. package/src/commands/CreateXssMatchSetCommand.ts +0 -124
  371. package/src/commands/DeleteByteMatchSetCommand.ts +0 -118
  372. package/src/commands/DeleteGeoMatchSetCommand.ts +0 -118
  373. package/src/commands/DeleteIPSetCommand.ts +0 -118
  374. package/src/commands/DeleteLoggingConfigurationCommand.ts +0 -107
  375. package/src/commands/DeletePermissionPolicyCommand.ts +0 -104
  376. package/src/commands/DeleteRateBasedRuleCommand.ts +0 -122
  377. package/src/commands/DeleteRegexMatchSetCommand.ts +0 -118
  378. package/src/commands/DeleteRegexPatternSetCommand.ts +0 -104
  379. package/src/commands/DeleteRuleCommand.ts +0 -118
  380. package/src/commands/DeleteRuleGroupCommand.ts +0 -118
  381. package/src/commands/DeleteSizeConstraintSetCommand.ts +0 -118
  382. package/src/commands/DeleteSqlInjectionMatchSetCommand.ts +0 -122
  383. package/src/commands/DeleteWebACLCommand.ts +0 -116
  384. package/src/commands/DeleteXssMatchSetCommand.ts +0 -119
  385. package/src/commands/GetByteMatchSetCommand.ts +0 -103
  386. package/src/commands/GetChangeTokenCommand.ts +0 -109
  387. package/src/commands/GetChangeTokenStatusCommand.ts +0 -119
  388. package/src/commands/GetGeoMatchSetCommand.ts +0 -103
  389. package/src/commands/GetIPSetCommand.ts +0 -96
  390. package/src/commands/GetLoggingConfigurationCommand.ts +0 -103
  391. package/src/commands/GetPermissionPolicyCommand.ts +0 -103
  392. package/src/commands/GetRateBasedRuleCommand.ts +0 -105
  393. package/src/commands/GetRateBasedRuleManagedKeysCommand.ts +0 -110
  394. package/src/commands/GetRegexMatchSetCommand.ts +0 -103
  395. package/src/commands/GetRegexPatternSetCommand.ts +0 -103
  396. package/src/commands/GetRuleCommand.ts +0 -96
  397. package/src/commands/GetRuleGroupCommand.ts +0 -104
  398. package/src/commands/GetSampledRequestsCommand.ts +0 -107
  399. package/src/commands/GetSizeConstraintSetCommand.ts +0 -103
  400. package/src/commands/GetSqlInjectionMatchSetCommand.ts +0 -103
  401. package/src/commands/GetWebACLCommand.ts +0 -96
  402. package/src/commands/GetXssMatchSetCommand.ts +0 -103
  403. package/src/commands/ListActivatedRulesInRuleGroupCommand.ts +0 -108
  404. package/src/commands/ListByteMatchSetsCommand.ts +0 -103
  405. package/src/commands/ListGeoMatchSetsCommand.ts +0 -103
  406. package/src/commands/ListIPSetsCommand.ts +0 -103
  407. package/src/commands/ListLoggingConfigurationsCommand.ts +0 -106
  408. package/src/commands/ListRateBasedRulesCommand.ts +0 -103
  409. package/src/commands/ListRegexMatchSetsCommand.ts +0 -103
  410. package/src/commands/ListRegexPatternSetsCommand.ts +0 -103
  411. package/src/commands/ListRuleGroupsCommand.ts +0 -103
  412. package/src/commands/ListRulesCommand.ts +0 -96
  413. package/src/commands/ListSizeConstraintSetsCommand.ts +0 -103
  414. package/src/commands/ListSqlInjectionMatchSetsCommand.ts +0 -106
  415. package/src/commands/ListSubscribedRuleGroupsCommand.ts +0 -103
  416. package/src/commands/ListTagsForResourceCommand.ts +0 -104
  417. package/src/commands/ListWebACLsCommand.ts +0 -103
  418. package/src/commands/ListXssMatchSetsCommand.ts +0 -103
  419. package/src/commands/PutLoggingConfigurationCommand.ts +0 -120
  420. package/src/commands/PutPermissionPolicyCommand.ts +0 -135
  421. package/src/commands/TagResourceCommand.ts +0 -104
  422. package/src/commands/UntagResourceCommand.ts +0 -103
  423. package/src/commands/UpdateByteMatchSetCommand.ts +0 -141
  424. package/src/commands/UpdateGeoMatchSetCommand.ts +0 -133
  425. package/src/commands/UpdateIPSetCommand.ts +0 -168
  426. package/src/commands/UpdateRateBasedRuleCommand.ts +0 -149
  427. package/src/commands/UpdateRegexMatchSetCommand.ts +0 -137
  428. package/src/commands/UpdateRegexPatternSetCommand.ts +0 -142
  429. package/src/commands/UpdateRuleCommand.ts +0 -144
  430. package/src/commands/UpdateRuleGroupCommand.ts +0 -127
  431. package/src/commands/UpdateSizeConstraintSetCommand.ts +0 -145
  432. package/src/commands/UpdateSqlInjectionMatchSetCommand.ts +0 -147
  433. package/src/commands/UpdateWebACLCommand.ts +0 -174
  434. package/src/commands/UpdateXssMatchSetCommand.ts +0 -146
  435. package/src/endpoints.ts +0 -68
  436. package/src/index.ts +0 -80
  437. package/src/models/index.ts +0 -1
  438. package/src/models/models_0.ts +0 -7494
  439. package/src/protocols/Aws_json1_1.ts +0 -11232
  440. package/src/runtimeConfig.browser.ts +0 -41
  441. package/src/runtimeConfig.native.ts +0 -17
  442. package/src/runtimeConfig.shared.ts +0 -17
  443. package/src/runtimeConfig.ts +0 -46
  444. package/tsconfig.es.json +0 -10
  445. package/tsconfig.json +0 -33
  446. package/tsconfig.types.json +0 -9
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ListWebACLsRequest, ListWebACLsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1ListWebACLsCommand,
17
- serializeAws_json1_1ListWebACLsCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface ListWebACLsCommandInput extends ListWebACLsRequest {}
22
- export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <p>Returns an array of <a>WebACLSummary</a> objects in the response.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { WAFClient, ListWebACLsCommand } from "@aws-sdk/client-waf"; // ES Modules import
38
- * // const { WAFClient, ListWebACLsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
39
- * const client = new WAFClient(config);
40
- * const command = new ListWebACLsCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link ListWebACLsCommandInput} for command's `input` shape.
45
- * @see {@link ListWebACLsCommandOutput} for command's `response` shape.
46
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class ListWebACLsCommand extends $Command<
50
- ListWebACLsCommandInput,
51
- ListWebACLsCommandOutput,
52
- WAFClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: ListWebACLsCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: WAFClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<ListWebACLsCommandInput, ListWebACLsCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "WAFClient";
77
- const commandName = "ListWebACLsCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: ListWebACLsRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: ListWebACLsResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: ListWebACLsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1ListWebACLsCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListWebACLsCommandOutput> {
98
- return deserializeAws_json1_1ListWebACLsCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { ListXssMatchSetsRequest, ListXssMatchSetsResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1ListXssMatchSetsCommand,
17
- serializeAws_json1_1ListXssMatchSetsCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface ListXssMatchSetsCommandInput extends ListXssMatchSetsRequest {}
22
- export interface ListXssMatchSetsCommandOutput extends ListXssMatchSetsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <p>Returns an array of <a>XssMatchSet</a> objects.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { WAFClient, ListXssMatchSetsCommand } from "@aws-sdk/client-waf"; // ES Modules import
38
- * // const { WAFClient, ListXssMatchSetsCommand } = require("@aws-sdk/client-waf"); // CommonJS import
39
- * const client = new WAFClient(config);
40
- * const command = new ListXssMatchSetsCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link ListXssMatchSetsCommandInput} for command's `input` shape.
45
- * @see {@link ListXssMatchSetsCommandOutput} for command's `response` shape.
46
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class ListXssMatchSetsCommand extends $Command<
50
- ListXssMatchSetsCommandInput,
51
- ListXssMatchSetsCommandOutput,
52
- WAFClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: ListXssMatchSetsCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: WAFClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<ListXssMatchSetsCommandInput, ListXssMatchSetsCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "WAFClient";
77
- const commandName = "ListXssMatchSetsCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: ListXssMatchSetsRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: ListXssMatchSetsResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: ListXssMatchSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1ListXssMatchSetsCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListXssMatchSetsCommandOutput> {
98
- return deserializeAws_json1_1ListXssMatchSetsCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,120 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutLoggingConfigurationRequest, PutLoggingConfigurationResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1PutLoggingConfigurationCommand,
17
- serializeAws_json1_1PutLoggingConfigurationCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface PutLoggingConfigurationCommandInput extends PutLoggingConfigurationRequest {}
22
- export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigurationResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <p>Associates a <a>LoggingConfiguration</a> with a specified web ACL.</p>
34
- * <p>You can access information about all traffic that AWS WAF inspects using the following
35
- * steps:</p>
36
- * <ol>
37
- * <li>
38
- * <p>Create an Amazon Kinesis Data
39
- * Firehose. </p>
40
- * <p>Create the data firehose with a PUT source and in the region that you are operating. However, if you are capturing logs for Amazon CloudFront, always create the firehose in US East (N. Virginia). </p>
41
- * <note>
42
- * <p>Do not create the data firehose using a <code>Kinesis stream</code> as your source.</p>
43
- * </note>
44
- * </li>
45
- * <li>
46
- * <p>Associate that firehose to your web ACL using a <code>PutLoggingConfiguration</code> request.</p>
47
- * </li>
48
- * </ol>
49
- *
50
- * <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code> request, AWS WAF will create a service linked role with the necessary permissions to write logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL Traffic Information</a> in the <i>AWS WAF Developer Guide</i>.</p>
51
- * @example
52
- * Use a bare-bones client and the command you need to make an API call.
53
- * ```javascript
54
- * import { WAFClient, PutLoggingConfigurationCommand } from "@aws-sdk/client-waf"; // ES Modules import
55
- * // const { WAFClient, PutLoggingConfigurationCommand } = require("@aws-sdk/client-waf"); // CommonJS import
56
- * const client = new WAFClient(config);
57
- * const command = new PutLoggingConfigurationCommand(input);
58
- * const response = await client.send(command);
59
- * ```
60
- *
61
- * @see {@link PutLoggingConfigurationCommandInput} for command's `input` shape.
62
- * @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
63
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
64
- *
65
- */
66
- export class PutLoggingConfigurationCommand extends $Command<
67
- PutLoggingConfigurationCommandInput,
68
- PutLoggingConfigurationCommandOutput,
69
- WAFClientResolvedConfig
70
- > {
71
- // Start section: command_properties
72
- // End section: command_properties
73
-
74
- constructor(readonly input: PutLoggingConfigurationCommandInput) {
75
- // Start section: command_constructor
76
- super();
77
- // End section: command_constructor
78
- }
79
-
80
- /**
81
- * @internal
82
- */
83
- resolveMiddleware(
84
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
85
- configuration: WAFClientResolvedConfig,
86
- options?: __HttpHandlerOptions
87
- ): Handler<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput> {
88
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
89
-
90
- const stack = clientStack.concat(this.middlewareStack);
91
-
92
- const { logger } = configuration;
93
- const clientName = "WAFClient";
94
- const commandName = "PutLoggingConfigurationCommand";
95
- const handlerExecutionContext: HandlerExecutionContext = {
96
- logger,
97
- clientName,
98
- commandName,
99
- inputFilterSensitiveLog: PutLoggingConfigurationRequest.filterSensitiveLog,
100
- outputFilterSensitiveLog: PutLoggingConfigurationResponse.filterSensitiveLog,
101
- };
102
- const { requestHandler } = configuration;
103
- return stack.resolve(
104
- (request: FinalizeHandlerArguments<any>) =>
105
- requestHandler.handle(request.request as __HttpRequest, options || {}),
106
- handlerExecutionContext
107
- );
108
- }
109
-
110
- private serialize(input: PutLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
111
- return serializeAws_json1_1PutLoggingConfigurationCommand(input, context);
112
- }
113
-
114
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutLoggingConfigurationCommandOutput> {
115
- return deserializeAws_json1_1PutLoggingConfigurationCommand(output, context);
116
- }
117
-
118
- // Start section: command_body_extra
119
- // End section: command_body_extra
120
- }
@@ -1,135 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutPermissionPolicyRequest, PutPermissionPolicyResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1PutPermissionPolicyCommand,
17
- serializeAws_json1_1PutPermissionPolicyCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface PutPermissionPolicyCommandInput extends PutPermissionPolicyRequest {}
22
- export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <p>Attaches an IAM policy to the specified resource. The only supported use for this action is to share a RuleGroup across accounts.</p>
34
- * <p>The <code>PutPermissionPolicy</code> is subject to the following restrictions:</p>
35
- * <ul>
36
- * <li>
37
- * <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
38
- * </li>
39
- * <li>
40
- * <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
41
- * </li>
42
- * <li>
43
- *
44
- * <p>
45
- * <code>Effect</code> must specify <code>Allow</code>.</p>
46
- * </li>
47
- * <li>
48
- * <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>
49
- * </li>
50
- * <li>
51
- * <p>The policy cannot include a <code>Resource</code> parameter.</p>
52
- * </li>
53
- * <li>
54
- * <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
55
- * </li>
56
- * <li>
57
- * <p>The user making the request must be the owner of the RuleGroup.</p>
58
- * </li>
59
- * <li>
60
- * <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
61
- * </li>
62
- * </ul>
63
- * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html">IAM Policies</a>. </p>
64
- *
65
- * <p>An example of a valid policy parameter is shown in the Examples section below.</p>
66
- * @example
67
- * Use a bare-bones client and the command you need to make an API call.
68
- * ```javascript
69
- * import { WAFClient, PutPermissionPolicyCommand } from "@aws-sdk/client-waf"; // ES Modules import
70
- * // const { WAFClient, PutPermissionPolicyCommand } = require("@aws-sdk/client-waf"); // CommonJS import
71
- * const client = new WAFClient(config);
72
- * const command = new PutPermissionPolicyCommand(input);
73
- * const response = await client.send(command);
74
- * ```
75
- *
76
- * @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
77
- * @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
78
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
79
- *
80
- */
81
- export class PutPermissionPolicyCommand extends $Command<
82
- PutPermissionPolicyCommandInput,
83
- PutPermissionPolicyCommandOutput,
84
- WAFClientResolvedConfig
85
- > {
86
- // Start section: command_properties
87
- // End section: command_properties
88
-
89
- constructor(readonly input: PutPermissionPolicyCommandInput) {
90
- // Start section: command_constructor
91
- super();
92
- // End section: command_constructor
93
- }
94
-
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(
99
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
100
- configuration: WAFClientResolvedConfig,
101
- options?: __HttpHandlerOptions
102
- ): Handler<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput> {
103
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
104
-
105
- const stack = clientStack.concat(this.middlewareStack);
106
-
107
- const { logger } = configuration;
108
- const clientName = "WAFClient";
109
- const commandName = "PutPermissionPolicyCommand";
110
- const handlerExecutionContext: HandlerExecutionContext = {
111
- logger,
112
- clientName,
113
- commandName,
114
- inputFilterSensitiveLog: PutPermissionPolicyRequest.filterSensitiveLog,
115
- outputFilterSensitiveLog: PutPermissionPolicyResponse.filterSensitiveLog,
116
- };
117
- const { requestHandler } = configuration;
118
- return stack.resolve(
119
- (request: FinalizeHandlerArguments<any>) =>
120
- requestHandler.handle(request.request as __HttpRequest, options || {}),
121
- handlerExecutionContext
122
- );
123
- }
124
-
125
- private serialize(input: PutPermissionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
126
- return serializeAws_json1_1PutPermissionPolicyCommand(input, context);
127
- }
128
-
129
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutPermissionPolicyCommandOutput> {
130
- return deserializeAws_json1_1PutPermissionPolicyCommand(output, context);
131
- }
132
-
133
- // Start section: command_body_extra
134
- // End section: command_body_extra
135
- }
@@ -1,104 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1TagResourceCommand,
17
- serializeAws_json1_1TagResourceCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <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>
34
- * <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>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { WAFClient, TagResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
39
- * // const { WAFClient, TagResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
40
- * const client = new WAFClient(config);
41
- * const command = new TagResourceCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link TagResourceCommandInput} for command's `input` shape.
46
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
47
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class TagResourceCommand extends $Command<
51
- TagResourceCommandInput,
52
- TagResourceCommandOutput,
53
- WAFClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: TagResourceCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: WAFClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "WAFClient";
78
- const commandName = "TagResourceCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_json1_1TagResourceCommand(input, context);
96
- }
97
-
98
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
99
- return deserializeAws_json1_1TagResourceCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1UntagResourceCommand,
17
- serializeAws_json1_1UntagResourceCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <note>
26
- * <p>This is <b>AWS WAF Classic</b> documentation. For
27
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
28
- * WAF Classic</a> in the developer guide.</p>
29
- * <p>
30
- * <b>For the latest version of AWS
31
- * 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>
32
- * </note>
33
- * <p></p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { WAFClient, UntagResourceCommand } from "@aws-sdk/client-waf"; // ES Modules import
38
- * // const { WAFClient, UntagResourceCommand } = require("@aws-sdk/client-waf"); // CommonJS import
39
- * const client = new WAFClient(config);
40
- * const command = new UntagResourceCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
45
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
46
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UntagResourceCommand extends $Command<
50
- UntagResourceCommandInput,
51
- UntagResourceCommandOutput,
52
- WAFClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UntagResourceCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: WAFClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "WAFClient";
77
- const commandName = "UntagResourceCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_1UntagResourceCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
98
- return deserializeAws_json1_1UntagResourceCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }