Мы используем AWS SES для отправки писем. Amazon SES отправляет уведомления о отказе и жалобах через электронные письма или AWS SNS. Мы хотели бы автоматически обрабатывать уведомления о отказе и жалобах (исходящие из электронной почты или AWS SNS) для извлечения идентификаторов электронной почты, чтобы эти электронные письма можно было удалить из исходного списка.
Один из способов автоматизации - отправить эти уведомления в тему в AWS SNS, а затем подписаться на эту тему с помощью AWS SQS и, наконец, прочитать сообщения в AWS SQS. SNS поддерживает подписку на следующие протоколы: HTTP/HTTPS/EMail/EMail (JSON)/SMS/SQS. Это возможно, но я считаю это слишком громоздким для простой задачи автоматической обработки отказов и уведомлений о жалобах.
Есть ли элегантный способ решения этой проблемы?
Я нашел запись в блоге от Amazon с кодом на С#. Есть ли лучшее решение?