WAF#
Client#
- class WAF.Client#
A low-level client representing AWS WAF
Note
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
This is the AWS WAF Classic API Reference for using AWS WAF Classic with Amazon CloudFront. The AWS WAF Classic actions and data types listed in the reference are available for protecting Amazon CloudFront distributions. You can use these actions and data types via the endpoint waf.amazonaws.com. This guide is for developers who need detailed information about the AWS WAF Classic API actions, data types, and errors. For detailed information about AWS WAF Classic features and an overview of how to use the AWS WAF Classic API, see the AWS WAF Classic in the developer guide.
import boto3 client = boto3.client('waf')
These are the available methods:
- can_paginate
- close
- create_byte_match_set
- create_geo_match_set
- create_ip_set
- create_rate_based_rule
- create_regex_match_set
- create_regex_pattern_set
- create_rule
- create_rule_group
- create_size_constraint_set
- create_sql_injection_match_set
- create_web_acl
- create_web_acl_migration_stack
- create_xss_match_set
- delete_byte_match_set
- delete_geo_match_set
- delete_ip_set
- delete_logging_configuration
- delete_permission_policy
- delete_rate_based_rule
- delete_regex_match_set
- delete_regex_pattern_set
- delete_rule
- delete_rule_group
- delete_size_constraint_set
- delete_sql_injection_match_set
- delete_web_acl
- delete_xss_match_set
- get_byte_match_set
- get_change_token
- get_change_token_status
- get_geo_match_set
- get_ip_set
- get_logging_configuration
- get_paginator
- get_permission_policy
- get_rate_based_rule
- get_rate_based_rule_managed_keys
- get_regex_match_set
- get_regex_pattern_set
- get_rule
- get_rule_group
- get_sampled_requests
- get_size_constraint_set
- get_sql_injection_match_set
- get_waiter
- get_web_acl
- get_xss_match_set
- list_activated_rules_in_rule_group
- list_byte_match_sets
- list_geo_match_sets
- list_ip_sets
- list_logging_configurations
- list_rate_based_rules
- list_regex_match_sets
- list_regex_pattern_sets
- list_rule_groups
- list_rules
- list_size_constraint_sets
- list_sql_injection_match_sets
- list_subscribed_rule_groups
- list_tags_for_resource
- list_web_acls
- list_xss_match_sets
- put_logging_configuration
- put_permission_policy
- tag_resource
- untag_resource
- update_byte_match_set
- update_geo_match_set
- update_ip_set
- update_rate_based_rule
- update_regex_match_set
- update_regex_pattern_set
- update_rule
- update_rule_group
- update_size_constraint_set
- update_sql_injection_match_set
- update_web_acl
- update_xss_match_set
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
- GetRateBasedRuleManagedKeys
- ListActivatedRulesInRuleGroup
- ListByteMatchSets
- ListGeoMatchSets
- ListIPSets
- ListLoggingConfigurations
- ListRateBasedRules
- ListRegexMatchSets
- ListRegexPatternSets
- ListRuleGroups
- ListRules
- ListSizeConstraintSets
- ListSqlInjectionMatchSets
- ListSubscribedRuleGroups
- ListWebACLs
- ListXssMatchSets