AWS sagemaker documentation change
Summary
Removed SageMaker Python SDK v2 (Legacy) code examples and empty section headers
Security assessment
Deletion of outdated SDK examples without security context. No evidence of security impact.
Diff
diff --git a/sagemaker/latest/dg/sagemaker-mkt-algo-train.md b/sagemaker/latest/dg/sagemaker-mkt-algo-train.md index aa48ea2e6..7dbbd43c5 100644 --- a//sagemaker/latest/dg/sagemaker-mkt-algo-train.md +++ b//sagemaker/latest/dg/sagemaker-mkt-algo-train.md @@ -105,3 +104,0 @@ Use an algorithm that you created or subscribed to on AWS Marketplace to create -SageMaker Python SDK v3 - - @@ -125,20 +121,0 @@ SageMaker Python SDK v3 -SageMaker Python SDK v2 (Legacy) - - - - from sagemaker import AlgorithmEstimator - data_path = os.path.join(DATA_DIR, 'marketplace', 'training') - - algo = AlgorithmEstimator( - algorithm_arn='arn:aws:sagemaker:us-east-2:012345678901:algorithm/my-algorithm', - role='SageMakerRole', - instance_count=1, - instance_type='ml.c4.xlarge', - sagemaker_session=sagemaker_session, - base_job_name='test-marketplace') - - train_input = algo.sagemaker_session.upload_data( - path=data_path, key_prefix='integ-test-data/marketplace/train') - - algo.fit({'training': train_input}) -