AWS sagemaker documentation change
Summary
Removed legacy Python SDK v2 code examples for metadata opt-out configuration
Security assessment
Change only removes outdated code samples without altering privacy functionality. No security implications or vulnerabilities are addressed in the diff.
Diff
diff --git a/sagemaker/latest/dg/data-privacy.md b/sagemaker/latest/dg/data-privacy.md index a69a4eddb..99d1c4fc5 100644 --- a//sagemaker/latest/dg/data-privacy.md +++ b//sagemaker/latest/dg/data-privacy.md @@ -82,3 +81,0 @@ To opt out of metadata collection using the SageMaker Python SDK, set the enviro -SageMaker Python SDK v3 - - @@ -96,14 +92,0 @@ SageMaker Python SDK v3 -SageMaker Python SDK v2 (Legacy) - - - - sagemaker.estimator( - image_uri='path_to_container', - role='rolearn', - instance_count=1, - instance_type='ml.c5.xlarge', - environment={ - 'OPT_OUT_TRACKING': '1' - }, - ) -