:doc:`EventBridge <../../events>` / Client / enable_rule

***********
enable_rule
***********



.. py:method:: EventBridge.Client.enable_rule(**kwargs)

  

  Enables the specified rule. If the rule does not exist, the operation fails.

   

  When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Allow a short period of time for changes to take effect.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EnableRule>`_  


  **Request Syntax**
  ::

    response = client.enable_rule(
        Name='string',
        EventBusName='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the rule.

    

  
  :type EventBusName: string
  :param EventBusName: 

    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`EventBridge.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EventBridge.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`EventBridge.Client.exceptions.ManagedRuleException`

  
  *   :py:class:`EventBridge.Client.exceptions.InternalException`

  