

***
WAF
***



======
Client
======



.. py:class:: WAF.Client

  A low-level client representing AWS WAF
  

  .. note::

    

    This is **AWS WAF Classic** documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`__ in the developer guide.

     

    **For the latest version of AWS WAF**, use the AWS WAFV2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`__. 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 <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`__ in the developer guide.

  ::

    
    import boto3
    
    client = boto3.client('waf')

  

These are the available methods:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  waf/client/can_paginate
  waf/client/close
  waf/client/create_byte_match_set
  waf/client/create_geo_match_set
  waf/client/create_ip_set
  waf/client/create_rate_based_rule
  waf/client/create_regex_match_set
  waf/client/create_regex_pattern_set
  waf/client/create_rule
  waf/client/create_rule_group
  waf/client/create_size_constraint_set
  waf/client/create_sql_injection_match_set
  waf/client/create_web_acl
  waf/client/create_web_acl_migration_stack
  waf/client/create_xss_match_set
  waf/client/delete_byte_match_set
  waf/client/delete_geo_match_set
  waf/client/delete_ip_set
  waf/client/delete_logging_configuration
  waf/client/delete_permission_policy
  waf/client/delete_rate_based_rule
  waf/client/delete_regex_match_set
  waf/client/delete_regex_pattern_set
  waf/client/delete_rule
  waf/client/delete_rule_group
  waf/client/delete_size_constraint_set
  waf/client/delete_sql_injection_match_set
  waf/client/delete_web_acl
  waf/client/delete_xss_match_set
  waf/client/get_byte_match_set
  waf/client/get_change_token
  waf/client/get_change_token_status
  waf/client/get_geo_match_set
  waf/client/get_ip_set
  waf/client/get_logging_configuration
  waf/client/get_paginator
  waf/client/get_permission_policy
  waf/client/get_rate_based_rule
  waf/client/get_rate_based_rule_managed_keys
  waf/client/get_regex_match_set
  waf/client/get_regex_pattern_set
  waf/client/get_rule
  waf/client/get_rule_group
  waf/client/get_sampled_requests
  waf/client/get_size_constraint_set
  waf/client/get_sql_injection_match_set
  waf/client/get_waiter
  waf/client/get_web_acl
  waf/client/get_xss_match_set
  waf/client/list_activated_rules_in_rule_group
  waf/client/list_byte_match_sets
  waf/client/list_geo_match_sets
  waf/client/list_ip_sets
  waf/client/list_logging_configurations
  waf/client/list_rate_based_rules
  waf/client/list_regex_match_sets
  waf/client/list_regex_pattern_sets
  waf/client/list_rule_groups
  waf/client/list_rules
  waf/client/list_size_constraint_sets
  waf/client/list_sql_injection_match_sets
  waf/client/list_subscribed_rule_groups
  waf/client/list_tags_for_resource
  waf/client/list_web_acls
  waf/client/list_xss_match_sets
  waf/client/put_logging_configuration
  waf/client/put_permission_policy
  waf/client/tag_resource
  waf/client/untag_resource
  waf/client/update_byte_match_set
  waf/client/update_geo_match_set
  waf/client/update_ip_set
  waf/client/update_rate_based_rule
  waf/client/update_regex_match_set
  waf/client/update_regex_pattern_set
  waf/client/update_rule
  waf/client/update_rule_group
  waf/client/update_size_constraint_set
  waf/client/update_sql_injection_match_set
  waf/client/update_web_acl
  waf/client/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 <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/paginators.html>`_.

The available paginators are:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  waf/paginator/GetRateBasedRuleManagedKeys
  waf/paginator/ListActivatedRulesInRuleGroup
  waf/paginator/ListByteMatchSets
  waf/paginator/ListGeoMatchSets
  waf/paginator/ListIPSets
  waf/paginator/ListLoggingConfigurations
  waf/paginator/ListRateBasedRules
  waf/paginator/ListRegexMatchSets
  waf/paginator/ListRegexPatternSets
  waf/paginator/ListRuleGroups
  waf/paginator/ListRules
  waf/paginator/ListSizeConstraintSets
  waf/paginator/ListSqlInjectionMatchSets
  waf/paginator/ListSubscribedRuleGroups
  waf/paginator/ListWebACLs
  waf/paginator/ListXssMatchSets
