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

***********************
batch_delete_connection
***********************



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

  

  Deletes a list of connection definitions from the Data Catalog.

  

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


  **Request Syntax**
  ::

    response = client.batch_delete_connection(
        CatalogId='string',
        ConnectionNameList=[
            'string',
        ]
    )
    
  :type CatalogId: string
  :param CatalogId: 

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

    

  
  :type ConnectionNameList: list
  :param ConnectionNameList: **[REQUIRED]** 

    A list of names of the connections to delete.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'Succeeded': [
              'string',
          ],
          'Errors': {
              'string': {
                  'ErrorCode': 'string',
                  'ErrorMessage': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Succeeded** *(list) --* 

        A list of names of the connection definitions that were successfully deleted.

        
        

        - *(string) --* 
    
      

      - **Errors** *(dict) --* 

        A map of the names of connections that were not successfully deleted to error details.

        
        

        - *(string) --* 
          

          - *(dict) --* 

            Contains details about an error.

            
            

            - **ErrorCode** *(string) --* 

              The code associated with this error.

              
            

            - **ErrorMessage** *(string) --* 

              A message describing the error.

              
        
    
  
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

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

  