:doc:`CodeStarconnections <../../codestar-connections>` / Client / delete_connection

*****************
delete_connection
*****************



.. py:method:: CodeStarconnections.Client.delete_connection(**kwargs)

  

  The connection to be deleted.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteConnection>`_  


  **Request Syntax**
  ::

    response = client.delete_connection(
        ConnectionArn='string'
    )
    
  :type ConnectionArn: string
  :param ConnectionArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the connection to be deleted.

     

    .. note::

      

      The ARN is never reused if the connection is deleted.

      

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CodeStarconnections.Client.exceptions.ResourceNotFoundException`

  