-
Notifications
You must be signed in to change notification settings - Fork 429
feat(data_classes): Add missing Bounce, S3 and WorkMail for SESEvent #1026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ebbff89
fix(data_classes): Add missing fields for SESEvent
michaelbrewer e1539bd
tests: Add SES event for SNS
michaelbrewer f06a096
Merge branch 'awslabs:develop' into fix-1025
michaelbrewer c049fd5
feat(data-classes): Add ses response builder function
michaelbrewer 776a95b
Merge branch 'awslabs:develop' into fix-1025
michaelbrewer fd9020c
docs: fix docstrings for enum
michaelbrewer bfa03b6
cdb04dd
Merge branch 'awslabs:develop' into fix-1025
michaelbrewer 31fe45e
Revert "fix(parser): Add missing fields for SESEvent (#1027)" (#1190)
sthulb f6db8cf
Merge branch 'develop' into fix-1025
michaelbrewer 16eec66
Merge branch 'develop' into fix-1025
michaelbrewer e565529
Merge branch 'awslabs:develop' into fix-1025
michaelbrewer 77ca949
Merge branch 'awslabs:develop' into fix-1025
michaelbrewer 53ec378
Merge branch 'develop' into fix-1025
michaelbrewer 846faef
Merge branch 'develop' into fix-1025
michaelbrewer 070a3b2
Merge branch 'develop' into fix-1025
michaelbrewer d6cc6c8
Merge branch 'develop' into fix-1025
michaelbrewer 2afc0e2
Merge branch 'develop' into fix-1025
michaelbrewer cc61d55
Merge branch 'develop' into fix-1025
michaelbrewer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"Records": [ | ||
{ | ||
"eventVersion": "1.0", | ||
"ses": { | ||
"receipt": { | ||
"timestamp": "2015-09-11T20:32:33.936Z", | ||
"processingTimeMillis": 406, | ||
"recipients": [ | ||
"recipient@example.com" | ||
], | ||
"spamVerdict": { | ||
"status": "PASS" | ||
}, | ||
"virusVerdict": { | ||
"status": "PASS" | ||
}, | ||
"spfVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dkimVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dmarcVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dmarcPolicy": "reject", | ||
"action": { | ||
"type": "S3", | ||
"topicArn": "arn:aws:sns:us-east-1:012345678912:example-topic", | ||
"bucketName": "my-S3-bucket", | ||
"objectKey": "email" | ||
} | ||
}, | ||
"mail": { | ||
"timestamp": "2015-09-11T20:32:33.936Z", | ||
"source": "0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com", | ||
"messageId": "d6iitobk75ur44p8kdnnp7g2n800", | ||
"destination": [ | ||
"recipient@example.com" | ||
], | ||
"headersTruncated": false, | ||
"headers": [ | ||
{ | ||
"name": "Return-Path", | ||
"value": "<0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com>" | ||
}, | ||
{ | ||
"name": "Received", | ||
"value": "from a9-183.smtp-out.amazonses.com (a9-183.smtp-out.amazonses.com [54.240.9.183]) by inbound-smtp.us-east-1.amazonaws.com with SMTP id d6iitobk75ur44p8kdnnp7g2n800 for recipient@example.com; Fri, 11 Sep 2015 20:32:33 +0000 (UTC)" | ||
}, | ||
{ | ||
"name": "DKIM-Signature", | ||
"value": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1442003552; h=From:To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID:Feedback-ID; bh=DWr3IOmYWoXCA9ARqGC/UaODfghffiwFNRIb2Mckyt4=; b=p4ukUDSFqhqiub+zPR0DW1kp7oJZakrzupr6LBe6sUuvqpBkig56UzUwc29rFbJF hlX3Ov7DeYVNoN38stqwsF8ivcajXpQsXRC1cW9z8x875J041rClAjV7EGbLmudVpPX 4hHst1XPyX5wmgdHIhmUuh8oZKpVqGi6bHGzzf7g=" | ||
}, | ||
{ | ||
"name": "From", | ||
"value": "sender@example.com" | ||
}, | ||
{ | ||
"name": "To", | ||
"value": "recipient@example.com" | ||
}, | ||
{ | ||
"name": "Subject", | ||
"value": "Example subject" | ||
}, | ||
{ | ||
"name": "MIME-Version", | ||
"value": "1.0" | ||
}, | ||
{ | ||
"name": "Content-Type", | ||
"value": "text/plain; charset=UTF-8" | ||
}, | ||
{ | ||
"name": "Content-Transfer-Encoding", | ||
"value": "7bit" | ||
}, | ||
{ | ||
"name": "Date", | ||
"value": "Fri, 11 Sep 2015 20:32:32 +0000" | ||
}, | ||
{ | ||
"name": "Message-ID", | ||
"value": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>" | ||
}, | ||
{ | ||
"name": "X-SES-Outgoing", | ||
"value": "2015.09.11-54.240.9.183" | ||
}, | ||
{ | ||
"name": "Feedback-ID", | ||
"value": "1.us-east-1.Krv2FKpFdWV+KUYw3Qd6wcpPJ4Sv/pOPpEPSHn2u2o4=:AmazonSES" | ||
} | ||
], | ||
"commonHeaders": { | ||
"returnPath": "0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com", | ||
"from": [ | ||
"sender@example.com" | ||
], | ||
"date": "Fri, 11 Sep 2015 20:32:32 +0000", | ||
"to": [ | ||
"recipient@example.com" | ||
], | ||
"messageId": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>", | ||
"subject": "Example subject" | ||
} | ||
} | ||
}, | ||
"eventSource": "aws:ses" | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"Records": [ | ||
{ | ||
"eventVersion": "1.0", | ||
"ses": { | ||
"receipt": { | ||
"timestamp": "2015-09-11T20:32:33.936Z", | ||
"processingTimeMillis": 222, | ||
"recipients": [ | ||
"recipient@example.com" | ||
], | ||
"spamVerdict": { | ||
"status": "PASS" | ||
}, | ||
"virusVerdict": { | ||
"status": "PASS" | ||
}, | ||
"spfVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dkimVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dmarcVerdict": { | ||
"status": "PASS" | ||
}, | ||
"dmarcPolicy": "reject", | ||
"action": { | ||
"type": "SNS", | ||
"topicArn": "arn:aws:sns:us-east-1:012345678912:example-topic" | ||
} | ||
}, | ||
"mail": { | ||
"timestamp": "2015-09-11T20:32:33.936Z", | ||
"source": "61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com", | ||
"messageId": "d6iitobk75ur44p8kdnnp7g2n800", | ||
"destination": [ | ||
"recipient@example.com" | ||
], | ||
"headersTruncated": false, | ||
"headers": [ | ||
{ | ||
"name": "Return-Path", | ||
"value": "<0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com>" | ||
}, | ||
{ | ||
"name": "Received", | ||
"value": "from a9-183.smtp-out.amazonses.com (a9-183.smtp-out.amazonses.com [54.240.9.183]) by inbound-smtp.us-east-1.amazonaws.com with SMTP id d6iitobk75ur44p8kdnnp7g2n800 for recipient@example.com; Fri, 11 Sep 2015 20:32:33 +0000 (UTC)" | ||
}, | ||
{ | ||
"name": "DKIM-Signature", | ||
"value": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1442003552; h=From:To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Date:Message-ID:Feedback-ID; bh=DWr3IOmYWoXCA9ARqGC/UaODfghffiwFNRIb2Mckyt4=; b=p4ukUDSFqhqiub+zPR0DW1kp7oJZakrzupr6LBe6sUuvqpBkig56UzUwc29rFbJF hlX3Ov7DeYVNoN38stqwsF8ivcajXpQsXRC1cW9z8x875J041rClAjV7EGbLmudVpPX 4hHst1XPyX5wmgdHIhmUuh8oZKpVqGi6bHGzzf7g=" | ||
}, | ||
{ | ||
"name": "From", | ||
"value": "sender@example.com" | ||
}, | ||
{ | ||
"name": "To", | ||
"value": "recipient@example.com" | ||
}, | ||
{ | ||
"name": "Subject", | ||
"value": "Example subject" | ||
}, | ||
{ | ||
"name": "MIME-Version", | ||
"value": "1.0" | ||
}, | ||
{ | ||
"name": "Content-Type", | ||
"value": "text/plain; charset=UTF-8" | ||
}, | ||
{ | ||
"name": "Content-Transfer-Encoding", | ||
"value": "7bit" | ||
}, | ||
{ | ||
"name": "Date", | ||
"value": "Fri, 11 Sep 2015 20:32:32 +0000" | ||
}, | ||
{ | ||
"name": "Message-ID", | ||
"value": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>" | ||
}, | ||
{ | ||
"name": "X-SES-Outgoing", | ||
"value": "2015.09.11-54.240.9.183" | ||
}, | ||
{ | ||
"name": "Feedback-ID", | ||
"value": "1.us-east-1.Krv2FKpFdWV+KUYw3Qd6wcpPJ4Sv/pOPpEPSHn2u2o4=:AmazonSES" | ||
} | ||
], | ||
"commonHeaders": { | ||
"returnPath": "0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com", | ||
"from": [ | ||
"sender@example.com" | ||
], | ||
"date": "Fri, 11 Sep 2015 20:32:32 +0000", | ||
"to": [ | ||
"recipient@example.com" | ||
], | ||
"messageId": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>", | ||
"subject": "Example subject" | ||
} | ||
} | ||
}, | ||
"eventSource": "aws:ses" | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.