Delete online evaluation
The DeleteOnlineEvaluationConfig API permanently removes an online
evaluation configuration and stops all associated evaluation processing. This
asynchronous operation disables the evaluation service and cleans up all related
resources.
An online evaluation can only be deleted when the configuration is in Active, UpdateFailed, or Disabled status. Configurations currently being created or updated must complete their operations before deletion is allowed.
Code samples for Starter Toolkit, AgentCore SDK, and AWS SDK
The following code samples demonstrate how to delete online evaluation configurations using different development approaches. Choose the method that best fits your development environment and preferences.
Console
Permanently remove an online evaluation configuration using the console interface, which includes confirmation prompts to prevent accidental deletion.
To delete an online evaluation configuration
-
Open the Amazon Bedrock AgentCore console.
-
In the navigation pane, choose Evaluation.
-
In the Evaluation configurations card, view the table that lists the evaluation configurations you have created.
-
Choose one of the following methods to delete the configuration:
-
Choose the evaluation configuration name to view its details, then choose Delete in the upper right of the details page.
-
Select the evaluation configuration so that it is highlighted, then choose Delete at the top of the Evaluation configurations card.
-
-
Enter
confirmto confirm the deletion. -
Choose Delete to delete the configuration.