Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type SnsRecord struct {
- NotificationType string `json:"notificationType"`
- Bounce struct {
- BounceType string `json:"bouncetype"`
- BounceSubType string `json:"bouncesubtype"`
- BouncedRecipients []struct {
- EmailAddress string `json:"emailaddress"`
- Action string `json:"action"`
- Status string `json:"status"`
- DiagnosticCode string `json:"diagnosticcode"`
- } `json:"bouncedRecipients"`
- Timestamp string `json:"timestamp"`
- FeedbackID string `json:"feedbackId"`
- ReportingMTA string `json:"reportingMTA"`
- } `json:"bounce"`
- Mail struct {
- Timestamp string `json:"timestamp"`
- Source string `json:"source"`
- SourceArn string `json:"sourcearn"`
- SourceIP string `json:"sourceIp"`
- SendingAccountID string `json:"sendingAccountId"`
- MessageID string `json:"messageid"`
- Destination []string `json:"destination"`
- HeadersTruncated bool `json:"headersTruncated"`
- Headers []struct {
- Name string `json:"name"`
- Value string `json:"value"`
- } `json:"headers"`
- CommonHeaders struct {
- From []string `json:"from"`
- ReplyTo []string `json:"replyTo"`
- To []string `json:"to"`
- Subject string `json:"subject"`
- } `json:"commonHeaders"`
- } `json:"mail"`
- }
Add Comment
Please, Sign In to add comment