This package has been deprecated
stop using this library. use a recent aws-sdk library instead. note that you will need to stop looking at the .data property of return values
Hack for adding the .promise() method to all aws-sdk request objects (aws-sdk is a peerDependency).
How it works?
Take a look at the source the short version its a terrible hack into the AWS.Request object (which aws-sdk returns from just about all api calls).
// AWS is identical to aws-sdk but it has .promise method on all// requestsvar AWS = ;var ec2 = region: 'us-west-2' ;ec2;