1 Answer
- Newest
- Most votes
- Most comments
4
Log Email by using Lambda may help, below sample code:
import json
def lambda_handler(event, context):
email = event['email']
action = event['action']
print(f"Email: {email}, Action: {action}")
# Process the action
return {
'statusCode': 200,
'body': json.dumps('Action processed successfully')
}
Relevant content
- asked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago