The current AWS identity is not a role for sagemaker?
问题 I am getting error when i call get_execution_role() from sagemaker in python. I have attached the error for the same. I have added the SagemakerFullAccess Policy to role and user both. 回答1: get_execution_role() is a function helper used in the Amazon SageMaker Examples GitHub repository. These examples were made to be executed from the fully managed Jupyter notebooks that Amazon SageMaker provides. From inside these notebooks, get_execution_role() will return the IAM role name that was passed