AwsSum plugin for Amazon Redshift.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
test
.gitignore
LICENSE
README.md
awssum-amazon-redshift.js
config.js
package.json

README.md

NOTE: AwsSum is now deprecated. Please use aws-sdk instead.

awssum-amazon-redshift

This is an AwsSum plugin!

You'll need to add awssum-amazon-redshift to your package.json dependencies. Both awssum and awssum-amazon are pulled in as peer dependencies.

Example

Describe Clusters:

var fmt = require('fmt');
var amazonRedshift = require('awssum-amazon-redshift');

var redshift = new amazonRedshift.RedShift({
    'accessKeyId'     : process.env.ACCESS_KEY_ID,
    'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
    'region'          : amazonRedshift.US_EAST_1
});

redshift.DescribeClusters(function(err, data) {
    fmt.dump(err, 'err');
    fmt.dump(data, 'data');
});

Other Examples

See here for more examples : https://github.com/awssum/awssum-amazon-redshift/tree/master/examples

Every file is of the format ``-.js```` where <name> is related to what that example is showing.

Author

Written by Andrew Chilton - Blog - Twitter.

License

(Ends)

(Ends)