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::XXXX
arn:aws:sts::XXXX
IAM Policy fixed the issue. Policy summary will show if there are any warnings i.e. resource does not exist etc.
JSON needs following
{ "Sid": "VisualEditor1", "Effect": "Allow", "Action": [ "ses:SendEmail", "ses:SendRawEmail" ], "Resource": "*" }