Skip to content

Bedrock Agentcore Control  >  Operations  >  delete_evaluator

delete_evaluator

Operation

delete_evaluator async

delete_evaluator(input: DeleteEvaluatorInput, plugins: list[Plugin] | None = None) -> DeleteEvaluatorOutput

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

Parameters:

Name Type Description Default
input DeleteEvaluatorInput

An instance of DeleteEvaluatorInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteEvaluatorOutput

An instance of DeleteEvaluatorOutput.

Input

DeleteEvaluatorInput dataclass

Dataclass for DeleteEvaluatorInput structure.

Attributes

evaluator_id class-attribute instance-attribute
evaluator_id: str | None = None

The unique identifier of the evaluator to delete.

Output

DeleteEvaluatorOutput dataclass

Dataclass for DeleteEvaluatorOutput structure.

Attributes

evaluator_arn instance-attribute
evaluator_arn: str

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

evaluator_id instance-attribute
evaluator_id: str

The unique identifier of the deleted evaluator.

status instance-attribute

The status of the evaluator deletion operation.