Access Denied while sending email from AWS SES in Lambda function
<p>I am trying to send an email using Amazon SES in AWS Lambda function, For this i am facing the following error.</p>

<blockquote>
  <p>AccessDenied: User <code>arn:aws:sts::XXXXX:assumed-role/lambda_basic_execution/awslambda_XXXX' is not authorized to perform</code>ses:SendEmail' on resource `arn:aws:ses:us-west-2:XXX:identity/example@example.com'</p>
</blockquote>

<p>I have granted permission for </p>

<blockquote>
  <p>"ses:SendEmail", "ses:SendRawEmail" for the IAM role.</p>
</blockquote>