AWS Security ChangesHomeSearch

AWS sagemaker documentation change

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

File: sagemaker/latest/dg/use-spark-processing-container.md

Summary

Removed legacy SageMaker Python SDK v2 code examples and SDK version headers

Security assessment

Changes involve removing deprecated code samples. No security fixes or security documentation added.

Diff

diff --git a/sagemaker/latest/dg/use-spark-processing-container.md b/sagemaker/latest/dg/use-spark-processing-container.md
index 1f336e1d9..86a1b3ad6 100644
--- a//sagemaker/latest/dg/use-spark-processing-container.md
+++ b//sagemaker/latest/dg/use-spark-processing-container.md
@@ -19,3 +18,0 @@ The following code example shows how to run a processing job that invokes your P
-SageMaker Python SDK v3
-    
-    
@@ -42,23 +38,0 @@ SageMaker Python SDK v3
-SageMaker Python SDK v2 (Legacy)
-    
-    
-    
-    from sagemaker.spark.processing import PySparkProcessor
-    
-    spark_processor = PySparkProcessor(
-        base_job_name="spark-preprocessor",
-        framework_version="2.4",
-        role=role,
-        instance_count=2,
-        instance_type="ml.m5.xlarge",
-        max_runtime_in_seconds=1200,
-    )
-    
-    spark_processor.run(
-        submit_app="preprocess.py",
-        arguments=['s3_input_bucket', bucket,
-                   's3_input_key_prefix', input_prefix,
-                   's3_output_bucket', bucket,
-                   's3_output_key_prefix', output_prefix]
-    )
-