Very basic example using module in AWS Lambda function
$10-30 USD
Завершено
Опублікований about 8 years ago
$10-30 USD
Оплачується при отриманні
I'm trying to get the NPN-js module working in an AWS Lambda call. [login to view URL]
Right now getting the following error:
2016-03-02T20:54:59.117Z fd5f3eef-e0b8-11e5-a091-41b17d731a1e ReferenceError: AmazonMwsClient is not defined
at [login to view URL] (/var/task/[login to view URL]:22)
Need help getting past this error. See the attached zip for what I am uploading to the AWS Lambda call.
// From [login to view URL]
var AWSAccessKeyId = 'AKIAblahblahblah';
var secretAccessKey = 'blahblahblah';
var sellerId = 'blahblahblah';
[login to view URL] = function(event, context) {
[login to view URL]('event: ', event);
[login to view URL]('context: ', context);
var mws = require('mws-js'),
client = new AmazonMwsClient( AWSAccessKeyId, secretAccessKey, sellerId, {});
// Get the service status of Sellers API endpoint and print it
[login to view URL](new [login to view URL](), [login to view URL]);
}