Integrate AWS SDK, SES with AWS Amplify: Short post


Currently, I'm working on a task that required me to integrate AWS SES with AWS Amplify to send emails using AWS SES.

I had to struggle a lot to configure the AWS SDK.
Below is the code sample that I used to configure the SDK. Implemented using React.

What I did here was, I obtained the credentials from the current session and used that to configure the AWS SDK. I believe that I struggled mainly because it had difficulties when understanding the AWS documentation.