Using SES SDK to send email from python 2.7 on Lambda -


i trying build lambda function using python 2.7 ( using boto3). need use aws sdk trigger ses email. sending to, email_subject, email_body arguments function. function in turn should use aws access key id , aws secrete access key have permissions trigger emails verified domain , verified email id.

i looking way specify aws credentials -

import boto3  client = boto3.client('ses') .....  < how mention credentials before calling send_email function ? > response = client.send_email( ...... ) 


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -