I'm using the AWS SDK for JavaScript and it is returning the following error when I try to create a Lambda function:     InvalidParameterValueException: The role defined for the function cannot be assumed by Lambda.   I've double-checked my r...
I have to download multiple files from S3 bucket using node.js. For that I have to write a for loop & call the s3.getObject(param) method to download. After the files are downloaded I have to merge their contents.   I have written like this:  var...
I have a JavaScript web application that supports Cognito unauthenticated identities. I'm trying to figure out how to identify the linked authenticated IdentityId for a DISABLED unauthenticated IdentityId.  First unauthenticated users are issued...
I am trying to write a program to get a zip file from s3, unzip it, then upload it to S3. But I found two exceptions that I can not catch.  1. StreamContentLengthMismatch: Stream content length mismatch. Received 980323883 of 5770104761 bytes. This o...
I'm trying to accomplish the simple, and upload to Amazon S3 directly JavaScript. How and where would I hide my access and secret keys though? I'm not seeing anything in their documentation or on this site that answers this.   I'm using t...
I have an AWS Lambda function, and I need to invoke it from my node app and stream the result back to the client.  I've looked in the docs but can't see a way.  I want to do something like this:  lambda.invoke(params).then(data => data.pip...
I'm using the AWS Javascript SDK and I'm following the tutorial on how to send an SQS message. I'm basically following the AWS tutorial which has an example of the sendMessage as follows:  sqs.sendMessage(params, function(err, data) {   i...
I am trying to setup a Cognito user using the AWS Cognito SDK and am having trouble adding custom attributes to a user. I have ensured that the variable names match up exactly and that the application allows read/write on all of the attributes. My co...
I am currently working on a new project where the entire page should be implemented in HTML5/JS working against an API/JSON. Since the entire application should only consist of one HTML file (index.html) and a JS MVC application (maybe backboneJs) I...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.