AWS bedrock documentation change
Summary
Moved streaming configuration details to API section, removed streaming preference from step-by-step instructions, and renumbered steps
Security assessment
The change documents required IAM permissions (bedrock:InvokeModelWithResponseStream) for security configuration, but does not address a specific vulnerability. The relocation of content appears to be organizational rather than security-related.
Diff
diff --git a/bedrock/latest/userguide/agents-test.md b/bedrock/latest/userguide/agents-test.md index cfe91fa73..c9cc5708a 100644 --- a//bedrock/latest/userguide/agents-test.md +++ b//bedrock/latest/userguide/agents-test.md @@ -44,9 +43,0 @@ To help troubleshoot your agent's behavior, Amazon Bedrock Agents provides the a -For agents that are created `after` March 31, 2025: - - * If you've created your agent in the console, streaming is enabled by default. You can disable streaming anytime. - - * Ensure the Agent execution role includes the `bedrock:InvokeModelWithResponseStream` permission for the configured agent model. - - - - @@ -86,3 +77 @@ Every time you update the working draft, you must prepare the agent to package t - 8. (Optional) To enable or disable streaming, choose **Streaming preferences** , enable or disable **Stream responses** and choose **Confirm**. If you've enabled streaming and if the agent is configured with guardrail, you can optionally specify character interval. - - 9. (Optional) To use a prompt from Prompt management, select the options icon (  ) in the message box and choose **Import prompt**. Select the prompt and version. Enter values for the prompt variables in the **Test variable values** section. For more information about prompts in Prompt management, see [Construct and store reusable prompts with Prompt management in Amazon Bedrock](./prompt-management.html). + 8. (Optional) To use a prompt from Prompt management, select the options icon (  ) in the message box and choose **Import prompt**. Select the prompt and version. Enter values for the prompt variables in the **Test variable values** section. For more information about prompts in Prompt management, see [Construct and store reusable prompts with Prompt management in Amazon Bedrock](./prompt-management.html). @@ -90 +79 @@ Every time you update the working draft, you must prepare the agent to package t - 10. To test the agent, enter a message and choose **Run**. While you wait for the response to generate or after it is generated, you have the following options: + 9. To test the agent, enter a message and choose **Run**. While you wait for the response to generate or after it is generated, you have the following options: @@ -136,0 +126,9 @@ API +For agents that are created `after` March 31, 2025: + + * If you've created your agent in the console, streaming is enabled by default. You can disable streaming anytime. + + * Ensure the Agent execution role includes the `bedrock:InvokeModelWithResponseStream` permission for the configured agent model. + + + +