:doc:`AppSync <../../appsync>` / Client / delete_function

***************
delete_function
***************



.. py:method:: AppSync.Client.delete_function(**kwargs)

  

  Deletes a ``Function``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction>`_  


  **Request Syntax**
  ::

    response = client.delete_function(
        apiId='string',
        functionId='string'
    )
    
  :type apiId: string
  :param apiId: **[REQUIRED]** 

    The GraphQL API ID.

    

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

    The ``Function`` ID.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppSync.Client.exceptions.ConcurrentModificationException`

  
  *   :py:class:`AppSync.Client.exceptions.NotFoundException`

  
  *   :py:class:`AppSync.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`AppSync.Client.exceptions.InternalFailureException`

  
  *   :py:class:`AppSync.Client.exceptions.BadRequestException`

  