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 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'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 generate a pre-signed URL then upload a file to S3 through a browser. My server-side code looks like this, and it generates the URL:  let s3 = new aws.S3({   // for dev purposes   accessKeyId: 'MY-ACCESS-KEY-ID',   secretAcc...
I have generated a pre-signed S3 URL in java for HTTP PUT method.   A slightly modified version of the URL:  https://s3.amazonaws.com/somebucket/pre-signed-url-key-2?AWSAccessKeyId=BKIAIQ6H5Z7BG6KZ2ZUA&Expires=1425617244&Signature=GWcRM5ZIrAK...
I get the following error:  TypeError: __WEBPACK_IMPORTED_MODULE_0_aws_sdk_global__.util.crypto.lib. randomBytes is not a function   when I try to authenticate the user using the following code I wrote:  import { CognitoUserPool, CognitoUserAttribute...
I'm looking for a front-end solution for uploading files to amazon s3 (that is, not passing them through my server.  The solution I have found is https://code.google.com/p/swfupload/  It might do the job, but it requier flash and this is the firs...
I want to know the difference between the AWS SDK DynamoDB client and the DynamoDB DocumentClient? In which use case should we use the DynamoDB client over the DocumentClient?   const dynamoClient = new AWS.DynamoDB.DocumentClient();  vs   const dyna...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.