AWS Security ChangesHomeSearch

AWS sagemaker documentation change

Service: sagemaker · 2026-06-28 · Documentation low

File: sagemaker/latest/dg/edge-packaging-job-prerequisites.md

Summary

Updated code examples for IAM role retrieval using SageMaker SDK and fixed documentation links.

Security assessment

Changes update import statements and method calls for role/session handling without modifying security practices. The IAM role functionality remains unchanged, and there's no evidence of security fixes or vulnerabilities addressed. This appears to be an SDK syntax update.

Diff

diff --git a/sagemaker/latest/dg/edge-packaging-job-prerequisites.md b/sagemaker/latest/dg/edge-packaging-job-prerequisites.md
index ae34cf176..1c71c1d3a 100644
--- a//sagemaker/latest/dg/edge-packaging-job-prerequisites.md
+++ b//sagemaker/latest/dg/edge-packaging-job-prerequisites.md
@@ -27 +27 @@ Use one of the following methods to get your IAM ARN:
-                import sagemaker
+                from sagemaker.core.helper.session_helper import Session, get_execution_role
@@ -30 +30 @@ Use one of the following methods to get your IAM ARN:
-        sess = sagemaker.Session()
+        sess = Session()
@@ -33 +33 @@ Use one of the following methods to get your IAM ARN:
-        role = sagemaker.get_execution_role()
+        role = get_execution_role()
@@ -38 +38 @@ Use one of the following methods to get your IAM ARN:
-For more information about using the SageMaker Python SDK, see the [SageMaker AI Python SDK API](https://sagemaker.readthedocs.io/en/stable/index.html).
+For more information about using the SageMaker Python SDK, see the [SageMaker AI Python SDK API](https://sagemaker.readthedocs.io/en/stable/).