:doc:`Comprehend <../../comprehend>` / Client / delete_endpoint

***************
delete_endpoint
***************



.. py:method:: Comprehend.Client.delete_endpoint(**kwargs)

  

  Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see `Managing endpoints <https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEndpoint>`_  


  **Request Syntax**
  ::

    response = client.delete_endpoint(
        EndpointArn='string'
    )
    
  :type EndpointArn: string
  :param EndpointArn: **[REQUIRED]** 

    The Amazon Resource Number (ARN) of the endpoint being deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Comprehend.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Comprehend.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`Comprehend.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Comprehend.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`Comprehend.Client.exceptions.InternalServerException`

  