A client library for Amazon API Gateway.
npm install amazon-api-gateway-client
var Client = require('amazon-api-gateway-client').Client;
var client = new Client({
accessKeyId: '...',
region: '...',
secretAccessKey: '...'
});
client.createRestapi({ name: 'MyRestapi' }).then(function (restapi) {
// ...
});
client.listRestapis().then(function (restapis) {
// ...
});
npm install
npm run