BedrockAgentCoreControl / Client / delete_evaluator
delete_evaluator¶
- 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
Request Syntax
response = client.delete_evaluator( evaluatorId='string' )
- Parameters:
evaluatorId (string) –
[REQUIRED]
The unique identifier of the evaluator to delete.
- Return type:
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
BedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException