The examle of the event from Amazon SES registered in CloudWatch below.
{
"notificationType": "Bounce",
"bounce": {
"feedbackId": "010101860d89be0a-ea93e0f8-8612-4af4-a5f6-af05cb09aca8-000000",
"bounceType": "Permanent",
"bounceSubType": "General",
"bouncedRecipients": [
{
"emailAddress": "
client-...@gmail.com",
"action": "failed",
"status": "5.1.1",
"diagnosticCode": "smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try\n550-5.1.1 double-checking the recipient's email address for typos or\n550-5.1.1 unnecessary spaces. Learn more at\n550 5.1.1
https://support.google.com/mail/?p=NoSuchUser i8-20020a639d08000000b004d812fdce36si18948893pgd.803 - gsmtp"
}
],
"timestamp": "2023-02-01T15:12:56.000Z",
"remoteMtaIp": "71.72.73.74",
"reportingMTA": "dns;
a27-30.smtp-out.us-west-2.amazonses.com"
},
"mail": {
"timestamp": "2023-02-01T15:12:55.826Z",
"source": "
in...@clickhelp.com",
"sourceArn": "arn:aws:ses:us-west-2:342107197733:identity/
clickhelp.com",
"sourceIp": "3.121.39.2",
"callerIdentity": "ses-smtp-user.20220504-132337",
"sendingAccountId": "342107197733",
"messageId": "010101860d89bc12-7ce77242-b9cf-492d-a880-7f5401590119-000000",
"destination": [
"
client-...@gmail.com"
],
"headersTruncated": false,
"headers": [
{
"name": "Received",
"value": "from vm-aws-new (
ec2-3-121-39-2.us-east-2.compute.amazonaws.com [3.121.39.2]) by
email-smtp.amazonaws.com with SMTP (SimpleEmailService-d-6PWY9WRQL) id qu36rOMWz0bNuAYx1Q68 for
client-...@gmail.com; Wed, 01 Feb 2023 15:12:55 +0000 (UTC)"
},
{
"name": "MIME-Version",
"value": "1.0"
},
{
"name": "From",
"value": "\"ClickHelp Notifications\" <
in...@clickhelp.com>"
},
{
"name": "To",
"value": "
client-...@gmail.com"
},
{
"name": "Date",
"value": "1 Feb 2023 15:12:55 +0000"
},
{
"name": "Subject",
"value": "Confirm your trial:
client-address.try.co"
},
{
"name": "Content-Type",
"value": "text/html; charset=utf-8"
},
{
"name": "Content-Transfer-Encoding",
"value": "base64"
}
],
"commonHeaders": {
"from": [
"ClickHelp Notifications <
in...@clickhelp.com>"
],
"date": "1 Feb 2023 15:12:55 +0000",
"to": [
"
client-...@gmail.com"
],
"subject": "Confirm your ClickHelp trial:
client-address.try.co"
}
}
}