AWS sagemaker documentation change
Summary
Updated code examples to use get_execution_role from sagemaker.core.helper.session_helper instead of sagemaker.get_execution_role()
Security assessment
The change updates import statements and function calls for role retrieval but doesn't address any security vulnerabilities or introduce security documentation. It appears to be a routine code maintenance update.
Diff
diff --git a/sagemaker/latest/dg/clarify-model-monitor-feature-attribute-drift-schedule.md b/sagemaker/latest/dg/clarify-model-monitor-feature-attribute-drift-schedule.md index b3fdfb1e3..7baca1b09 100644 --- a//sagemaker/latest/dg/clarify-model-monitor-feature-attribute-drift-schedule.md +++ b//sagemaker/latest/dg/clarify-model-monitor-feature-attribute-drift-schedule.md @@ -24,0 +25 @@ To schedule a model explainability monitor for a real-time endpoint, pass your ` + from sagemaker.core.helper.session_helper import get_execution_role @@ -27 +28 @@ To schedule a model explainability monitor for a real-time endpoint, pass your ` - role=sagemaker.get_execution_role(), + role=get_execution_role(), @@ -50,0 +52 @@ To schedule a model explainability monitor for a batch transform job, pass your + from sagemaker.core.helper.session_helper import get_execution_role @@ -53 +55 @@ To schedule a model explainability monitor for a batch transform job, pass your - role=sagemaker.get_execution_role(), + role=get_execution_role(),