AWS Security ChangesHomeSearch

AWS sagemaker documentation change

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

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

Summary

Added code examples for updating model package stages using SageMaker Python SDK v3 and v2 (legacy).

Security assessment

Changes demonstrate routine model lifecycle operations without security configurations. The 'Approved' stage status is part of normal workflow management, not a security control.

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 a1e830037..16a663074 100644
--- a//sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md
+++ b//sagemaker/latest/dg/model-registry-staging-construct-update-boto3.md
@@ -12,0 +13,22 @@ In this example, the `ModelLifeCycle` stage `"Development"` and stage status `"A
+SageMaker Python SDK v3
+    
+    
+    
+    from sagemaker.core.helper.session_helper import get_execution_role, session 
+    import boto3 
+    
+    region = boto3.Session().region_name role = get_execution_role() 
+    sm_client = boto3.client('sagemaker', region_name=region)
+    
+    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)
+    
+