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

****************************
delete_user_defined_function
****************************



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

  

  Deletes an existing function definition from the Data Catalog.

  

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


  **Request Syntax**
  ::

    response = client.delete_user_defined_function(
        CatalogId='string',
        DatabaseName='string',
        FunctionName='string'
    )
    
  :type CatalogId: string
  :param CatalogId: 

    The ID of the Data Catalog where the function to be deleted is located. If none is supplied, the Amazon Web Services account ID is used by default.

    

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

    The name of the catalog database where the function is located.

    

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

    The name of the function definition to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

  