:doc:`BedrockAgentCoreControl <../../bedrock-agentcore-control>` / Client / delete_evaluator

****************
delete_evaluator
****************



.. py:method:: BedrockAgentCoreControl.Client.delete_evaluator(**kwargs)

  

  Deletes a custom evaluator. Builtin evaluators cannot be deleted. The evaluator must not be referenced by any active online evaluation configurations.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-control-2023-06-05/DeleteEvaluator>`_  


  **Request Syntax**
  ::

    response = client.delete_evaluator(
        evaluatorId='string'
    )
    
  :type evaluatorId: string
  :param evaluatorId: **[REQUIRED]** 

    The unique identifier of the evaluator to delete.

    

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

    
    ::

      {
          'evaluatorArn': 'string',
          'evaluatorId': 'string',
          'status': 'ACTIVE'|'CREATING'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **evaluatorArn** *(string) --* 

        The Amazon Resource Name (ARN) of the deleted evaluator.

        
      

      - **evaluatorId** *(string) --* 

        The unique identifier of the deleted evaluator.

        
      

      - **status** *(string) --* 

        The status of the evaluator deletion operation.

        
  
  **Exceptions**
  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ValidationException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ConflictException`

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

  
  *   :py:class:`BedrockAgentCoreControl.Client.exceptions.ThrottlingException`

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

  