I'm experimenting with parsing AWS JSON with purescript.
Given the Data.JSON.S3 module provided, here's what I see in the console:
$> eitherDecode "{ \"Records\": [{ \"s3\": { \"bucket\": { \"name\": \"foo\"}, \"object\": { \"key\": \"bar.png\" } } } ] }" :: Either String Records