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

**********************
deauthorize_connection
**********************



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

  

  Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection.

  

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


  **Request Syntax**
  ::

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

    The name of the connection to remove authorization from.

    

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

    
    ::

      {
          'ConnectionArn': 'string',
          'ConnectionState': 'CREATING'|'UPDATING'|'DELETING'|'AUTHORIZED'|'DEAUTHORIZED'|'AUTHORIZING'|'DEAUTHORIZING'|'ACTIVE'|'FAILED_CONNECTIVITY',
          'CreationTime': datetime(2015, 1, 1),
          'LastModifiedTime': datetime(2015, 1, 1),
          'LastAuthorizedTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ConnectionArn** *(string) --* 

        The ARN of the connection that authorization was removed from.

        
      

      - **ConnectionState** *(string) --* 

        The state of the connection.

        
      

      - **CreationTime** *(datetime) --* 

        A time stamp for the time that the connection was created.

        
      

      - **LastModifiedTime** *(datetime) --* 

        A time stamp for the time that the connection was last updated.

        
      

      - **LastAuthorizedTime** *(datetime) --* 

        A time stamp for the time that the connection was last authorized.

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

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

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

  