Very basic example using module in AWS Lambda function

I'm trying to get the NPN-js module working in an AWS Lambda call. [url removed, login to view]

Right now getting the following error:

2016-03-02T20:54:[url removed, login to view] fd5f3eef-e0b8-11e5-a091-41b17d731a1e ReferenceError: AmazonMwsClient is not defined

at [url removed, login to view] (/var/task/[url removed, login to view]:22)

Need help getting past this error. See the attached zip for what I am uploading to the AWS Lambda call.

// From [url removed, login to view]

var AWSAccessKeyId = 'AKIAblahblahblah';

var secretAccessKey = 'blahblahblah';

var sellerId = 'blahblahblah';

[url removed, login to view] = function(event, context) {

[url removed, login to view]('event: ', event);

[url removed, login to view]('context: ', context);

var mws = require('mws-js'),

client = new AmazonMwsClient( AWSAccessKeyId, secretAccessKey, sellerId, {});

// Get the service status of Sellers API endpoint and print it

[url removed, login to view](new [url removed, login to view](), [url removed, login to view]);


Kemahiran: Perkhidmatan Web Amazon, Javascript, node.js

Lihat lagi: lambda function aws, Lambda function, lambda example, lambda amazon, create sales order sap using function module bapi_salesorder_createfromdat2, ajax call using jquery example j2ee, bluesoleil visual basic example, attendance access card module using, template layout cre loaded using basic template system, drupal module using php, mysql database visual basic example, basic example infinite loop, homeseer visual basic example, gridview aspnet visual basic example

Tentang Majikan:
( 131 ulasan ) Bonita Springs, United States

ID Projek: #9826756

Dianugerahkan kepada:


I working with aws I can help

$15 USD dalam sehari
(0 Ulasan)