AWS sagemaker documentation change
Summary
Removed legacy SageMaker Python SDK v2 code example and v3 section header
Security assessment
Only documentation cleanup of deprecated SDK examples. No security fixes, vulnerability disclosures, or security feature additions are evident in the changes.
Diff
diff --git a/sagemaker/latest/dg/processing-job-frameworks-mxnet.md b/sagemaker/latest/dg/processing-job-frameworks-mxnet.md index f99110db9..dbe2fa656 100644 --- a//sagemaker/latest/dg/processing-job-frameworks-mxnet.md +++ b//sagemaker/latest/dg/processing-job-frameworks-mxnet.md @@ -13,3 +12,0 @@ The following code example shows how you can run your Processing job using a Doc -SageMaker Python SDK v3 - - @@ -42,38 +38,0 @@ SageMaker Python SDK v3 -SageMaker Python SDK v2 (Legacy) - - - - from sagemaker.mxnet import MXNetProcessor - from sagemaker.processing import ProcessingInput, ProcessingOutput - from sagemaker import get_execution_role - - #Initialize the MXNetProcessor - mxp = MXNetProcessor( - framework_version='1.8.0', - py_version='py37', - role=get_execution_role(), - instance_count=1, - instance_type='ml.c5.xlarge', - base_job_name='frameworkprocessor-mxnet' - ) - - #Run the processing job - mxp.run( - code='processing-script.py', - source_dir='scripts', - inputs=[ - ProcessingInput( - input_name='data', - source=f's3://{BUCKET}/{S3_INPUT_PATH}', - destination='/opt/ml/processing/input/data/' - ) - ], - outputs=[ - ProcessingOutput( - output_name='processed_data', - source='/opt/ml/processing/output/', - destination=f's3://{BUCKET}/{S3_OUTPUT_PATH}' - ) - ] - ) -