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

******************************
confirm_topic_rule_destination
******************************



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

  

  Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling ``ConfirmTopicRuleDestination`` to confirm that you own or have access to the endpoint.

   

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


  **Request Syntax**
  ::

    response = client.confirm_topic_rule_destination(
        confirmationToken='string'
    )
    
  :type confirmationToken: string
  :param confirmationToken: **[REQUIRED]** 

    The token used to confirm ownership or access to the topic rule confirmation URL.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **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`

  