PermissionDenied exception.Your Lambda Function needs the correct permissions in order to be able to invoke a SageMaker Endpoint.
Functions from the menu on the left

Attach Policy

SageMaker; select AmazonSageMakerFullAccess then tap on Attach policy
