:doc:`Glue <../../glue>` / Client / delete_connection

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



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

  

  Deletes a connection from the Data Catalog.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection>`_  


  **Request Syntax**
  ::

    response = client.delete_connection(
        CatalogId='string',
        ConnectionName='string'
    )
    
  :type CatalogId: string
  :param CatalogId: 

    The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.

    

  
  :type ConnectionName: string
  :param ConnectionName: **[REQUIRED]** 

    The name of the connection to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  