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

******************
disable_topic_rule
******************



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

  

  Disables the rule.

   

  Requires permission to access the `DisableTopicRule <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/DisableTopicRule>`_  


  **Request Syntax**
  ::

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

    The name of the rule to disable.

    

  
  
  :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`

  