Guest User

Untitled

a guest
Dec 10th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. type SnsRecord struct {
  2. NotificationType string `json:"notificationType"`
  3. Bounce struct {
  4. BounceType string `json:"bouncetype"`
  5. BounceSubType string `json:"bouncesubtype"`
  6. BouncedRecipients []struct {
  7. EmailAddress string `json:"emailaddress"`
  8. Action string `json:"action"`
  9. Status string `json:"status"`
  10. DiagnosticCode string `json:"diagnosticcode"`
  11. } `json:"bouncedRecipients"`
  12. Timestamp string `json:"timestamp"`
  13. FeedbackID string `json:"feedbackId"`
  14. ReportingMTA string `json:"reportingMTA"`
  15. } `json:"bounce"`
  16. Mail struct {
  17. Timestamp string `json:"timestamp"`
  18. Source string `json:"source"`
  19. SourceArn string `json:"sourcearn"`
  20. SourceIP string `json:"sourceIp"`
  21. SendingAccountID string `json:"sendingAccountId"`
  22. MessageID string `json:"messageid"`
  23. Destination []string `json:"destination"`
  24. HeadersTruncated bool `json:"headersTruncated"`
  25. Headers []struct {
  26. Name string `json:"name"`
  27. Value string `json:"value"`
  28. } `json:"headers"`
  29. CommonHeaders struct {
  30. From []string `json:"from"`
  31. ReplyTo []string `json:"replyTo"`
  32. To []string `json:"to"`
  33. Subject string `json:"subject"`
  34. } `json:"commonHeaders"`
  35. } `json:"mail"`
  36. }
Add Comment
Please, Sign In to add comment