AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

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

File: bedrock-agentcore/latest/devguide/code-interpreter-using-directly.md

Summary

Formatting changes including adding an 'Example' heading, restructuring SDK Client and Boto3 sections with numbered steps, and changing subsection headings from markdown `######` to bold `**`.

Security assessment

All changes are related to document structure, presentation, and typography (e.g., changing 'didn't' to 'didn’t'). There are no additions, removals, or modifications of security-related instructions, warnings, or configurations. The code examples and their security context remain unchanged.

Diff

diff --git a/bedrock-agentcore/latest/devguide/code-interpreter-using-directly.md b/bedrock-agentcore/latest/devguide/code-interpreter-using-directly.md
index 445ca6eb5..b834b19e0 100644
--- a//bedrock-agentcore/latest/devguide/code-interpreter-using-directly.md
+++ b//bedrock-agentcore/latest/devguide/code-interpreter-using-directly.md
@@ -31 +31 @@ Amazon Bedrock AgentCore provides two ways to interact with AgentCore Code Inter
-Create a project folder (if you didn't create one before) and install the required packages:
+Create a project folder (if you didn’t create one before) and install the required packages:
@@ -63 +63 @@ Replace `<Region>` with your actual AWS Region (for example, `us-east-1` or `us-
-SDK Client
+###### Example
@@ -64,0 +65 @@ SDK Client
+SDK Client
@@ -66 +66,0 @@ SDK Client
-Create a file named `direct_code_execution_sdk.py` and add the following code:
@@ -67,0 +68 @@ Create a file named `direct_code_execution_sdk.py` and add the following code:
+  1. Create a file named `direct_code_execution_sdk.py` and add the following code:
@@ -104,4 +104 @@ This code:
-
-
-
-###### Run the script
+**Run the script**
@@ -114 +110 @@ Execute the following command:
-###### Expected output
+**Expected output**
@@ -118 +113,0 @@ You should see a JSON response containing the execution result with `Hello World
-Boto3
@@ -121 +116,2 @@ Boto3
-Create a file named `direct_code_execution_boto3.py` and add the following code:
+
+Boto3
@@ -123,0 +120,2 @@ Create a file named `direct_code_execution_boto3.py` and add the following code:
+  1. Create a file named `direct_code_execution_boto3.py` and add the following code:
+    
@@ -195 +189 @@ The boto3 approach requires explicit session management. You must call `start_co
-###### Run the script
+**Run the script**
@@ -202 +195 @@ Execute the following command:
-###### Expected output
+**Expected output**