I am trying to send an email using Amazon SES in AWS Lambda function, For this i am facing the following error.
AccessDenied: User
arn:aws:sts::XXXXX:assumed-role/lambda_basic_execution/awslambda_XXXX' is not authorized to perform
ses:SendEmail' on resource `arn:aws:ses:us-west-2:XXX:identity/example@example.com'
I have granted permission for
"ses:SendEmail", "ses:SendRawEmail" for the IAM role.