github.com/Foodji/aws-lambda-go@v1.20.2/events/testdata/ses-sns-event.json (about)

     1  {
     2    "Records": [
     3      {
     4        "eventVersion": "1.0",
     5        "ses": {
     6          "receipt": {
     7            "timestamp": "2015-09-11T20:32:33.936Z",
     8            "processingTimeMillis": 222,
     9            "recipients": [
    10              "recipient@example.com"
    11            ],
    12            "spamVerdict": {
    13              "status": "PASS"
    14            },
    15            "virusVerdict": {
    16              "status": "PASS"
    17            },
    18            "spfVerdict": {
    19              "status": "PASS"
    20            },
    21            "dkimVerdict": {
    22              "status": "PASS"
    23            },
    24            "dmarcVerdict": {
    25              "status": "PASS"
    26            },
    27            "dmarcPolicy": "reject",
    28            "action": {
    29              "type": "SNS",
    30              "topicArn": "arn:aws:sns:us-east-1:012345678912:example-topic"
    31            }
    32          },
    33          "mail": {
    34            "timestamp": "2015-09-11T20:32:33.936Z",
    35            "source": "61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com",
    36            "messageId": "d6iitobk75ur44p8kdnnp7g2n800",
    37            "destination": [
    38              "recipient@example.com"
    39            ],
    40            "headersTruncated": false,
    41            "headers": [
    42              {
    43                "name": "Return-Path",
    44                "value": "<0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com>"
    45              },
    46              {
    47                "name": "Received",
    48                "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)"
    49              },
    50              {
    51                "name": "DKIM-Signature",
    52                "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="
    53              },
    54              {
    55                "name": "From",
    56                "value": "sender@example.com"
    57              },
    58              {
    59                "name": "To",
    60                "value": "recipient@example.com"
    61              },
    62              {
    63                "name": "Subject",
    64                "value": "Example subject"
    65              },
    66              {
    67                "name": "MIME-Version",
    68                "value": "1.0"
    69              },
    70              {
    71                "name": "Content-Type",
    72                "value": "text/plain; charset=UTF-8"
    73              },
    74              {
    75                "name": "Content-Transfer-Encoding",
    76                "value": "7bit"
    77              },
    78              {
    79                "name": "Date",
    80                "value": "Fri, 11 Sep 2015 20:32:32 +0000"
    81              },
    82              {
    83                "name": "Message-ID",
    84                "value": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>"
    85              },
    86              {
    87                "name": "X-SES-Outgoing",
    88                "value": "2015.09.11-54.240.9.183"
    89              },
    90              {
    91                "name": "Feedback-ID",
    92                "value": "1.us-east-1.Krv2FKpFdWV+KUYw3Qd6wcpPJ4Sv/pOPpEPSHn2u2o4=:AmazonSES"
    93              }
    94            ],
    95            "commonHeaders": {
    96              "returnPath": "0000014fbe1c09cf-7cb9f704-7531-4e53-89a1-5fa9744f5eb6-000000@amazonses.com",
    97              "from": [
    98                "sender@example.com"
    99              ],
   100              "date": "Fri, 11 Sep 2015 20:32:32 +0000",
   101              "to": [
   102                "recipient@example.com"
   103              ],
   104              "messageId": "<61967230-7A45-4A9D-BEC9-87CBCF2211C9@example.com>",
   105              "subject": "Example subject"
   106            }
   107          }
   108        },
   109        "eventSource": "aws:ses"
   110      }
   111    ]
   112  }