I'm building an Alexa Skill, and it requires that I store the userId of a user. I've tried to retrieve it with event.session.user.userId. However, when I call console.log(event.session.user.userId) the output is literally amzn1.ask.account.[u...
I'm trying to call and get the response from another lambda function using lambda invoke. The problem is other lambda function needs the id to be sent as path parameters (or as a query string). But I do not see an option in lambda invoke for this...
here's the code in AWS Lambda function:  var https = require('https'); exports.handler = (event, context, callback) => {     var params = {         host: "bittrex.com",         path: "/api/v1.1/public/getmarketsummaries"...
I've created a small AWS Lambda that sends an email using SES. I'm looking to hookup a contact us form from a static website to this lambda.  Is it possible to have the contact us form post directly to a url of the lambda? I'm not using a...
I have a Cloudformation template with a [email protected] function. This means I need the lambda function, and a Version (type WS::Lambda::Version).  Now, the first time I create the CF template, it works. But when I update the CF template and the Lambda f...
I have used AWS's JS Builder (https://sdk.amazonaws.com/builder/js/) to generate a minified build of only their Lambda SDK. Now I want o use that in a  NodeJS-like (specifically ReactJS) environment.   Currently, I am doing so (after referring ht...
I want to invoke a Lambda function using the Javascript API.  I want it to be invoked with the cognito userpool credentials of the user who is authenticated on the browser.  The objective is that the Lambda function will have the same level of access...
I'm packing some files in my lambda package that I need. I've used some example floating around to nearly get it working.  I'm able to verify the path of a file OK  const deviceCert = path.resolve(certType + "-deviceCert.key");...
How do I identify the region from within a Nodejs/Javascript AWS Lambda function?   The AWS_DEFAULT_REGION environment variable gives a ReferenceError (See here, which is for Java, not Node/Javascript.)  I realize I can get the "invokedFunctionAr...
I'm in the process of setting a graphql endpoint with servlerless/ lambda and am receiving an error when trying to connect to the graphql playground that comes with graphql-yoga. When I go to my route that has the playground (/playground) it laun...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.