Query Amazon SES event logs
You can use Amazon Athena to query Amazon Simple Email
Service
Amazon SES is an email platform that provides a convenient and cost-effective way to send and receive email using your own email addresses and domains. You can monitor your Amazon SES sending activity at a granular level using events, metrics, and statistics.
Based on the characteristics that you define, you can publish Amazon SES events to Amazon CloudWatch
For an example Athena CREATE TABLE
statement for Amazon SES logs, including steps
on how to create views and flatten nested arrays in Amazon SES event log data, see "Step 3: Using
Amazon Athena to query the SES event logs" in the Amazon blog post Analyzing Amazon SES event data with Amazon Analytics Services