var params = {
MasterRegion: "us-east-1",
FunctionVersion: "ALL",
//Marker: '',
MaxItems: 10
};
lambda.listFunctions(params, function(err, data) {
if (err) console.log(err, err.stack);
else console.log("Lambdas list ", data);
});
This code returns empty functions array in the response. Even though there are lambdas in the region. However, the params object:
var params = {
//MasterRegion: "us-east-1",
//FunctionVersion: "ALL",
//Marker: '',
MaxItems: 10
};
Returns lambdas in the region. What's going on here?