:doc:`WAF <../../waf>` / Client / get_rate_based_rule_managed_keys

********************************
get_rate_based_rule_managed_keys
********************************



.. py:method:: WAF.Client.get_rate_based_rule_managed_keys(**kwargs)

  

  .. 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.

    

   

  Returns an array of IP addresses currently being blocked by the  RateBasedRule that is specified by the ``RuleId``. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys>`_  


  **Request Syntax**
  ::

    response = client.get_rate_based_rule_managed_keys(
        RuleId='string',
        NextMarker='string'
    )
    
  :type RuleId: string
  :param RuleId: **[REQUIRED]** 

    The ``RuleId`` of the  RateBasedRule for which you want to get a list of ``ManagedKeys``. ``RuleId`` is returned by  CreateRateBasedRule and by  ListRateBasedRules.

    

  
  :type NextMarker: string
  :param NextMarker: 

    A null value and not currently used. Do not include this in your request.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ManagedKeys': [
              'string',
          ],
          'NextMarker': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ManagedKeys** *(list) --* 

        An array of IP addresses that currently are blocked by the specified  RateBasedRule.

        
        

        - *(string) --* 
    
      

      - **NextMarker** *(string) --* 

        A null value and not currently used.

        
  
  **Exceptions**
  
  *   :py:class:`WAF.Client.exceptions.WAFInternalErrorException`

  
  *   :py:class:`WAF.Client.exceptions.WAFInvalidAccountException`

  
  *   :py:class:`WAF.Client.exceptions.WAFNonexistentItemException`

  
  *   :py:class:`WAF.Client.exceptions.WAFInvalidParameterException`

  