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

     1  {
     2    "Records": [
     3      {
     4        "messageId" : "MessageID_1",
     5        "receiptHandle" : "MessageReceiptHandle",
     6        "body" : "Message Body",
     7        "md5OfBody" : "fce0ea8dd236ccb3ed9b37dae260836f",
     8        "md5OfMessageAttributes" : "582c92c5c5b6ac403040a4f3ab3115c9",
     9        "eventSourceARN": "arn:aws:sqs:us-west-2:123456789012:SQSQueue",
    10        "eventSource": "aws:sqs",
    11        "awsRegion": "us-west-2",
    12        "attributes" : {
    13          "ApproximateReceiveCount" : "2",
    14          "SentTimestamp" : "1520621625029",
    15          "SenderId" : "AROAIWPX5BD2BHG722MW4:sender",
    16          "ApproximateFirstReceiveTimestamp" : "1520621634884"
    17        },
    18        "messageAttributes" : {
    19          "Attribute3" : {
    20            "binaryValue" : "MTEwMA==",
    21            "stringListValues" : ["abc", "123"],
    22            "binaryListValues" : ["MA==", "MQ==", "MA=="],
    23            "dataType" : "Binary"
    24          },
    25          "Attribute2" : {
    26            "stringValue" : "123",
    27            "stringListValues" : [ ],
    28            "binaryListValues" : ["MQ==", "MA=="],
    29            "dataType" : "Number"
    30          },
    31          "Attribute1" : {
    32            "stringValue" : "AttributeValue1",
    33            "stringListValues" : [ ],
    34            "binaryListValues" : [ ],
    35            "dataType" : "String"
    36          }
    37        }
    38      }
    39    ]
    40  }