Two alternatives to the Lambda function presented in https://blogs.aws.amazon.com/security/post/Tx2ZTUVN2VGBS85/How-to-Receive-Alerts-When-Specific-APIs-Are-Called-by-Using-AWS-CloudTrail-Amaz
The cloudtrail_to_pagerduty_and_cloudsearch.py
is more recent and stable.