Created
February 14, 2016 18:06
-
-
Save mdesanti/225fabbaf3b7d4fab02e to your computer and use it in GitHub Desktop.
Create SimpleDb Domain
This file contains hidden or 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
var AWS = require('aws-sdk'); | |
var simpledb = new AWS.SimpleDB({ | |
endpoint: 'sdb.amazonaws.com', | |
region: 'us-east-1' | |
}); | |
var params = { | |
DomainName: 'STRING_VALUE' /* required */ | |
}; | |
simpledb.createDomain(params, function(err, data) { | |
if (err) console.log(err, err.stack); // an error occurred | |
else console.log(data); // successful response | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment