AWS Security ChangesHomeSearch

AWS sagemaker documentation change

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

File: sagemaker/latest/dg/geospatial-custom-operations-overview.md

Summary

Updated documentation to replace references to `ScriptProcessor` with `ProcessingJob` class throughout the file. Changed import paths and updated code examples to use new SDK structure.

Security assessment

Changes involve SDK class renaming and import path updates without any mention of vulnerabilities, security fixes, or security features. No evidence of security implications.

Diff

diff --git a/sagemaker/latest/dg/geospatial-custom-operations-overview.md b/sagemaker/latest/dg/geospatial-custom-operations-overview.md
index a6b8659b0..4d7ca2cd3 100644
--- a//sagemaker/latest/dg/geospatial-custom-operations-overview.md
+++ b//sagemaker/latest/dg/geospatial-custom-operations-overview.md
@@ -7 +7 @@
-# Overview: Run processing jobs using `ScriptProcessor` and a SageMaker geospatial container
+# Overview: Run processing jobs using `ProcessingJob` and a SageMaker geospatial container
@@ -9 +9 @@
-SageMaker geospatial provides a purpose-built processing container, `081189585635.dkr.ecr.us-west-2.amazonaws.com/sagemaker-geospatial-v1-0:latest`. You can use this container when running a job with Amazon SageMaker Processing. When you create an instance of the [`ScriptProcessor`](https://sagemaker.readthedocs.io/en/stable/api/training/processing.html#sagemaker.processing.ScriptProcessor) class that is available through the _Amazon SageMaker Python SDK for Processing_ , specify this `image_uri`.
+SageMaker geospatial provides a purpose-built processing container, `081189585635.dkr.ecr.us-west-2.amazonaws.com/sagemaker-geospatial-v1-0:latest`. You can use this container when running a job with Amazon SageMaker Processing. When you create an instance of the [`ProcessingJob`](https://sagemaker.readthedocs.io/en/stable/api/sagemaker_core.html) class that is available through the _Amazon SageMaker Python SDK for Processing_ , specify this `image_uri`.
@@ -15 +15 @@ If you receive a **`ResourceLimitExceeded`** error when attempting to start a pr
-###### Prerequisites for using `ScriptProcessor`
+###### Prerequisites for using `ProcessingJob`
@@ -26 +26 @@ If you receive a **`ResourceLimitExceeded`** error when attempting to start a pr
-The following procedure show you how to create an instance of `ScriptProcessor` and submit a Amazon SageMaker Processing job using the SageMaker geospatial container.
+The following procedure show you how to create an instance of `ProcessingJob` and submit a Amazon SageMaker Processing job using the SageMaker geospatial container.
@@ -28 +28 @@ The following procedure show you how to create an instance of `ScriptProcessor`
-###### To create a `ScriptProcessor` instance and submit a Amazon SageMaker Processing job using a SageMaker geospatial container
+###### To create a `ProcessingJob` instance and submit a Amazon SageMaker Processing job using a SageMaker geospatial container
@@ -30 +30 @@ The following procedure show you how to create an instance of `ScriptProcessor`
-  1. Instantiate an instance of the `ScriptProcessor` class using the SageMaker geospatial image:
+  1. Instantiate an instance of the `ProcessingJob` class using the SageMaker geospatial image:
@@ -32 +32,2 @@ The following procedure show you how to create an instance of `ScriptProcessor`
-        from sagemaker.processing import ScriptProcessor, ProcessingInput, ProcessingOutput
+        from sagemaker.core.processing import Processor, ProcessingInput, ProcessingOutput
+    from sagemaker.core.helper.session_helper import Session, get_execution_role
@@ -34,2 +35,2 @@ The following procedure show you how to create an instance of `ScriptProcessor`
-    sm_session = sagemaker.session.Session()
-    execution_role_arn = sagemaker.get_execution_role()
+    sm_session = Session()
+    execution_role_arn = get_execution_role()
@@ -40 +41 @@ The following procedure show you how to create an instance of `ScriptProcessor`
-    script_processor = ScriptProcessor(
+    script_processor = Processor(
@@ -90 +91 @@ Replace `execution_role_arn` with the ARN of the SageMaker AI execution role tha
-You can use a script to process SageMaker geospatial data. That script can be found in [Step 3: Writing a script that can calculate the NDVI](./geospatial-custom-operations-procedure.html#geospatial-custom-operations-script-mode). To learn more about the `.run()` API operation, see [`run`](https://sagemaker.readthedocs.io/en/stable/api/training/processing.html#sagemaker.processing.ScriptProcessor.run) in the _Amazon SageMaker Python SDK for Processing_.
+You can use a script to process SageMaker geospatial data. That script can be found in [Step 3: Writing a script that can calculate the NDVI](./geospatial-custom-operations-procedure.html#geospatial-custom-operations-script-mode). To learn more about the `.run()` API operation, see [`run`](https://sagemaker.readthedocs.io/en/stable/api/sagemaker_core.html) in the _Amazon SageMaker Python SDK for Processing_.
@@ -95 +96 @@ You can use a script to process SageMaker geospatial data. That script can be fo
-To monitor the progress of your processing job, the `ProcessingJobs` class supports a [`describe`](https://sagemaker.readthedocs.io/en/stable/api/training/processing.html#sagemaker.processing.ProcessingJob.describe) method. This method returns a response from the `DescribeProcessingJob` API call. To learn more, see [`DescribeProcessingJob` in the _Amazon SageMaker AI API Reference_](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeProcessingJob.html).
+To monitor the progress of your processing job, the `ProcessingJobs` class supports a [`describe`](https://sagemaker.readthedocs.io/en/stable/api/sagemaker_core.html) method. This method returns a response from the `DescribeProcessingJob` API call. To learn more, see [`DescribeProcessingJob` in the _Amazon SageMaker AI API Reference_](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeProcessingJob.html).
@@ -97 +98 @@ To monitor the progress of your processing job, the `ProcessingJobs` class suppo
-The next topic show you how to create an instance of the `ScriptProcessor` class using the SageMaker geospatial container, and then how to use it to calculate the Normalized Difference Vegetation Index (NDVI) with Sentinel-2 images.
+The next topic show you how to create an instance of the `ProcessingJob` class using the SageMaker geospatial container, and then how to use it to calculate the Normalized Difference Vegetation Index (NDVI) with Sentinel-2 images.
@@ -107 +108 @@ Geospatial processing job
-Using ScriptProcessor
+Using ProcessingJob