:doc:`IoT <../../iot>` / Client / enable_topic_rule

*****************
enable_topic_rule
*****************



.. py:method:: IoT.Client.enable_topic_rule(**kwargs)

  

  Enables the rule.

   

  Requires permission to access the `EnableTopicRule <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/EnableTopicRule>`_  


  **Request Syntax**
  ::

    response = client.enable_topic_rule(
        ruleName='string'
    )
    
  :type ruleName: string
  :param ruleName: **[REQUIRED]** 

    The name of the topic rule to enable.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InternalException`

  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`IoT.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`IoT.Client.exceptions.ConflictingResourceUpdateException`

  