AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

Service: bedrock-agentcore · 2026-04-10 · Documentation low

File: bedrock-agentcore/latest/devguide/code-interpreter-stop-session.md

Summary

Formatting changes to add an 'Example' heading and restructure the AWS CLI, Boto3, and API sections with numbered steps for stopping a session.

Security assessment

These are documentation formatting changes identical to the start-session file. They improve clarity but do not introduce, modify, or highlight any security-related information, features, or vulnerabilities. The core instruction to stop sessions to release resources was already present.

Diff

diff --git a/bedrock-agentcore/latest/devguide/code-interpreter-stop-session.md b/bedrock-agentcore/latest/devguide/code-interpreter-stop-session.md
index 9c42a6c22..6b6ee1d61 100644
--- a//bedrock-agentcore/latest/devguide/code-interpreter-stop-session.md
+++ b//bedrock-agentcore/latest/devguide/code-interpreter-stop-session.md
@@ -9 +9 @@ When you are finished using a Code Interpreter session, you should stop it to re
-AWS CLI
+###### Example
@@ -10,0 +11 @@ AWS CLI
+AWS CLI
@@ -12 +12,0 @@ AWS CLI
-To stop a code interpreter session using the AWS CLI, use the `stop-code-interpreter-session` command:
@@ -13,0 +14 @@ To stop a code interpreter session using the AWS CLI, use the `stop-code-interpr
+  1. To stop a code interpreter session using the AWS CLI, use the `stop-code-interpreter-session` command:
@@ -21 +21,0 @@ To stop a code interpreter session using the AWS CLI, use the `stop-code-interpr
-Boto3
@@ -24 +24,2 @@ Boto3
-To stop a Code Interpreter session using the AWS SDK for Python, use the `stop_code_interpreter_session` method:
+Boto3
+    
@@ -25,0 +27 @@ To stop a Code Interpreter session using the AWS SDK for Python, use the `stop_c
+  1. To stop a Code Interpreter session using the AWS SDK for Python, use the `stop_code_interpreter_session` method:
@@ -45 +46,0 @@ To stop a Code Interpreter session using the AWS SDK for Python, use the `stop_c
-API
@@ -48 +49,2 @@ API
-To stop a code interpreter session using the API, use the following call:
+API
+    
@@ -49,0 +52 @@ To stop a code interpreter session using the API, use the following call:
+  1. To stop a code interpreter session using the API, use the following call: