We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffcb381 commit 8fb55bbCopy full SHA for 8fb55bb
1 file changed
lambda/ses_bounce_handler/handler.py
@@ -294,7 +294,9 @@ def lambda_handler(event, context):
294
sns_message = record['Sns']['Message']
295
message = json.loads(sns_message)
296
297
- notification_type = message.get('notificationType')
+ # SES Configuration Set Event Destinations use 'eventType'
298
+ # Direct SES notifications use 'notificationType'
299
+ notification_type = message.get('eventType') or message.get('notificationType')
300
301
print(f"Processing {notification_type} notification")
302
0 commit comments