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

************************
delete_entity_recognizer
************************



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

  

  Deletes an entity recognizer.

   

  Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ``ResourceInUseException`` will be returned.

   

  This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.

  

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


  **Request Syntax**
  ::

    response = client.delete_entity_recognizer(
        EntityRecognizerArn='string'
    )
    
  :type EntityRecognizerArn: string
  :param EntityRecognizerArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) that identifies the entity recognizer.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

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

  