AWS bedrock-agentcore documentation change
Summary
Updated documentation for UpdateOnlineEvaluationConfig API with improved formatting, added numbered steps, clarified deployment requirements, and added notes about lifecycle status and pausing/resuming evaluations
Security assessment
The changes are primarily formatting improvements, clarification of deployment procedures, and addition of notes about evaluation lifecycle states and pausing/resuming functionality. No security vulnerabilities, weaknesses, or incidents are mentioned. The added notes about pausing/resuming evaluations are operational controls, not security features.
Diff
diff --git a/bedrock-agentcore/latest/devguide/update-online-evaluations.md b/bedrock-agentcore/latest/devguide/update-online-evaluations.md index 7c501d008..5a5121b9b 100644 --- a//bedrock-agentcore/latest/devguide/update-online-evaluations.md +++ b//bedrock-agentcore/latest/devguide/update-online-evaluations.md @@ -11 +11 @@ The `UpdateOnlineEvaluationConfig` API modifies an existing online evaluation co -Updates can only be made when your evaluation configuration is in Active or UpdateFailed status. If the configuration is currently being created, updated, or deleted, you'll receive a conflict error and should retry after the operation completes. +Updates can only be made when your evaluation configuration is in Active or UpdateFailed status. If the configuration is currently being created, updated, or deleted, you’ll receive a conflict error and should retry after the operation completes. @@ -28 +28 @@ The following code samples demonstrate how to update online evaluation configura -AgentCore CLI +###### Example @@ -29,0 +30 @@ AgentCore CLI +AgentCore CLI @@ -31 +31,0 @@ AgentCore CLI -To update an online evaluation configuration with the AgentCore CLI, edit the configuration in your `agentcore.json` file directly, then redeploy: @@ -32,0 +33 @@ To update an online evaluation configuration with the AgentCore CLI, edit the co + 1. To update an online evaluation configuration with the AgentCore CLI, edit the configuration in your `agentcore.json` file directly, then redeploy: @@ -36 +37 @@ To update an online evaluation configuration with the AgentCore CLI, edit the co -The CLI detects the configuration changes and updates the online evaluation in your account. +Open `agentcore.json` , find the configuration in the `onlineEvalConfigs` array, modify its settings, then run `agentcore deploy` . Changes won’t take effect until you deploy. @@ -38 +39,11 @@ The CLI detects the configuration changes and updates the online evaluation in y -AgentCore SDK + # Pause a running online evaluation + agentcore pause online-eval "your_config_name" + + # Resume a paused online evaluation + agentcore resume online-eval "your_config_name" + +###### Note + +The configuration must be in `Active` or `UpdateFailed` lifecycle status before you can update it. + +###### Note @@ -39,0 +51 @@ AgentCore SDK +To control whether the evaluation job is running ( `ENABLED` / `DISABLED` ), use `agentcore pause online-eval` and `agentcore resume online-eval`. @@ -40,0 +53,8 @@ AgentCore SDK +###### Note + +Run this from inside an AgentCore project directory (created with `agentcore create` ). + + + + +AgentCore SDK @@ -42 +62,2 @@ AgentCore SDK - from bedrock_agentcore_starter_toolkit import Evaluation + + 1. from bedrock_agentcore_starter_toolkit import Evaluation @@ -56 +76,0 @@ AgentCore SDK -AWS SDK @@ -60 +80,4 @@ AWS SDK - import boto3 +AWS SDK + + + 1. import boto3 @@ -69 +91,0 @@ AWS SDK -AWS CLI @@ -73 +95,4 @@ AWS CLI - aws bedrock-agentcore-control update-online-evaluation-config \ +AWS CLI + + + 1. aws bedrock-agentcore-control update-online-evaluation-config \ @@ -79 +107 @@ AWS CLI -Modify your online evaluation configuration settings using the console's editing interface, which provides form validation and guided configuration options. +Modify your online evaluation configuration settings using the console’s editing interface, which provides form validation and guided configuration options. @@ -81 +109 @@ Modify your online evaluation configuration settings using the console's editing -###### To update an online evaluation configuration +**To update an online evaluation configuration**