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
thanks for trying out SageMaker!
The exception you are seeing already suggests the reason. The credentials you are using are not a role credentials but most likely a user. The format of 'user' credentials will look like:
'arn:aws:iam::accid:user/name' as opposed to a role: 'arn:aws:iam::accid:role/name'
Hope this helps!