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 am trying to package code for AWS Lambda. Lambda has various restrictions, such as using Node 6.10, and not having a build step, like AWS EB does. I also am using NPM modules, so these will need to be bundled with the AWS Lambda handler.   Here is...
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 have a website which is on HTTPS, and I want to make a GET request to an HTTP port. At the moment when I try I get these errors:  cannot load ${url} due to access control checks.  this page was not allowed to display insecure content from ${http-ur...
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");...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.