This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "http://schema.org", | |
"@graph": [ | |
{ | |
"@type": "Organization", | |
"name": "Distilled", | |
"url": "https://www.distilled.net/", | |
"sameAs": [ | |
"http://www.facebook.com/distilled", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (sqs) => { | |
const createQueue = async (queueName) => { | |
return await new Promise((resolve, reject) => { | |
const createQueueParams = { | |
QueueName: queueName, | |
Attributes: { | |
'DelaySeconds': '0', | |
'MessageRetentionPeriod': '86400' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AWS = require('aws-sdk'); | |
const ses = new AWS.SES({ | |
region: 'us-east-1' | |
}); | |
const createTemplate = () => { | |
var params = { | |
Template: { /* required */ |