AWS Security ChangesHomeSearch

AWS sagemaker documentation change

Service: sagemaker · 2026-07-01 · Documentation low

File: sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md

Summary

Removed outdated SageMaker Python SDK v3 and v2 code examples for model package updates

Security assessment

The changes remove deprecated SDK implementation examples without any security context, vulnerability references, or security feature documentation. This appears to be routine documentation cleanup of outdated code samples.

Diff

diff --git a/sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md b/sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md
index 16a663074..946584d21 100644
--- a//sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md
+++ b//sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md
@@ -13,3 +12,0 @@ In this example, the `ModelLifeCycle` stage `"Development"` and stage status `"A
-SageMaker Python SDK v3
-    
-    
@@ -23,19 +19,0 @@ SageMaker Python SDK v3
-    model_package_update_input_dict = {
-        "ModelLifeCycle" : { 
-            "stage" : "Development",
-            "stageStatus" : "Approved",
-            "stageDescription" : "stage-description"
-        }
-    } 
-    model_package_update_response = sm_client.update_model_package(**model_package_update_input_dict)
-
-SageMaker Python SDK v2 (Legacy)
-    
-    
-    
-    from sagemaker import get_execution_role, session 
-    import boto3 
-    
-    region = boto3.Session().region_name role = get_execution_role() 
-    sm_client = boto3.client('sagemaker', region_name=region)
-