:doc:`MachineLearning <../../machinelearning>` / Client / delete_evaluation

*****************
delete_evaluation
*****************



.. py:method:: MachineLearning.Client.delete_evaluation(**kwargs)

  

  Assigns the ``DELETED`` status to an ``Evaluation``, rendering it unusable.

   

  After invoking the ``DeleteEvaluation`` operation, you can use the ``GetEvaluation`` operation to verify that the status of the ``Evaluation`` changed to ``DELETED``.

   

  **Caution:** The results of the ``DeleteEvaluation`` operation are irreversible.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/machinelearning-2014-12-12/DeleteEvaluation>`_  


  **Request Syntax**
  ::

    response = client.delete_evaluation(
        EvaluationId='string'
    )
    
  :type EvaluationId: string
  :param EvaluationId: **[REQUIRED]** 

    A user-supplied ID that uniquely identifies the ``Evaluation`` to delete.

    

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

    
    ::

      {
          'EvaluationId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``DeleteEvaluation`` operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.

       

      You can use the ``GetEvaluation`` operation and check the value of the ``Status`` parameter to see whether an ``Evaluation`` is marked as ``DELETED``.

      
      

      - **EvaluationId** *(string) --* 

        A user-supplied ID that uniquely identifies the ``Evaluation``. This value should be identical to the value of the ``EvaluationId`` in the request.

        
  
  **Exceptions**
  
  *   :py:class:`MachineLearning.Client.exceptions.InvalidInputException`

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

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

  