AWS sagemaker documentation change
Summary
Removed deprecated SageMaker Python SDK v2 (Legacy) code examples and references
Security assessment
The changes involve removing outdated SDK examples without any security context or vulnerability mentions. No security implications identified.
Diff
diff --git a/sagemaker/latest/dg/byoc-run.md b/sagemaker/latest/dg/byoc-run.md index 025d82d5a..b17b42ae2 100644 --- a//sagemaker/latest/dg/byoc-run.md +++ b//sagemaker/latest/dg/byoc-run.md @@ -11,3 +10,0 @@ You can use the SageMaker Python SDK to run your own processing image. The follo -SageMaker Python SDK v3 - - @@ -55,19 +51,0 @@ SageMaker Python SDK v3 -SageMaker Python SDK v2 (Legacy) - - - - from sagemaker.processing import Processor, ProcessingInput, ProcessingOutput - - processor = Processor(image_uri='<your_ecr_image_uri>', - role=role, - instance_count=1, - instance_type="ml.m5.xlarge") - - processor.run(inputs=[ProcessingInput( - source='<s3_uri or local path>', - destination='/opt/ml/processing/input_data')], - outputs=[ProcessingOutput( - source='/opt/ml/processing/processed_data', - destination='<s3_uri>')], - ) -