sending an email with aws nodejs sdk (using the aws sdk nodejs docs)

I'm not able to understand the AWS NodeJs SDK docs. Specifically, I'm trying to generate sample json params for the sendmail method. Does anyone have a sample json structure for sendmail, or does AWS have those samples available? Thanks

aws sdk

edit: I see that nodemailer wraps SES. I will give this a try https://github.com/andris9/Nodemailer

the nodemailer package makes mail much easier. Still unsure on the json structure for AWS SES