1 Answer
- Newest
- Most votes
- Most comments
0
Hi there, I understand that you’re getting an AccessDeniedException while invoking your endpoint.
It suggests that the IAM user/role, which you’re utilising to get predictions from your endpoint lacks the “sagemaker:InvokeEndpoint” permission. Please add the “sagemaker:InvokeEndpoint” to the desired IAM user/role and retry the operation.
For changing permissions for an IAM user, please refer - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_change-permissions.html
For a list of SageMaker API Operations along with their required permissions, please refer - https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html
If you’re still stuck, then please create a support case with the Sagemaker team.
Relevant content
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago