apigateway-sdk
v0.1.0
Published
Retrieve the JavaScript AWS API Gateway SDK.
Readme
apigateway-sdk 
Retrieve the JavaScript AWS API Gateway SDK.
Install
$ npm install --save apigateway-sdkUsage
const apiSdk = require('apigateway-sdk');
apiSdk.config.update({accessKeyId: 'akid', secretAccessKey: 'secret'});
apiSdk({id: '123', stage: 'v1'}).then(data => {
fs.writeFileSync('apigateway.zip', data);
});API
apiSdk(options)
Returns a promise for the Buffer.
options
id
Type: string
The API Gateway ID of which you want to download the SDK for.
stage
Type: string
The stage name of which you want to download the SDK for.
apiSdk.config
Returns the aws-sdk config object in order to configure the AWS SDK.
License
MIT © Sam Verschueren
