In a Node.js project I am attempting to get data back from S3.   When I use getSignedURL, everything works:   aws.getSignedUrl('getObject', params, function(err, url){     console.log(url);  });    My params are:   var params = {...
I want to fetch images from s3 and display them on my HTML page.  Angular HTML file:  <section data-ng-controller="myCtrl">     <img ng-src="{{src}}" width="200px" height="200px"> </section>   Angular...
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'm attempting to upload a file to an S3 bucket of mine from a web browser using AWS' JavaScript SDK. My code looks like this:  AWS.config.credentials = new AWS.CognitoIdentityCredentials({     AccountId: 'dfhgdh',     IdentityPoolId:...
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'm new to Cognito. So I need some clarification about how I should be registering users who have signed up via a social login.  I've created both a user pool and a federated identity pool.  Then I performed a basic oauth request to twitter u...
Here is my code:  const AWS = require('aws-sdk'); const { Client } = require('pg');  function main() {     AWS.config.update({region:'eu-west-2'});      let db_user = {         Name: "postgres_db_user",         WithDec...
Using the AWS SDK for Node, why do I not get an error when trying to delete an object that doesn't exist (i.e. the S3 key is wrong)?  If I specify a non-existent bucket on the other hand, an error is produced.  If you consider the following Node...
I've looked around similar problems, but couldn't resolve my problem. I'm developing an web application where the user will authenticate using AWS Cognito's authentication. The sign up part is ok, but when I try to sign in, I'm ge...
We have a React/Node app hosted on Digital Ocean. We're also utilizing Digital Ocean spaces which is interoperable with AWS S3 for Object storage. Basically, the app is sort of an in-house dropbox. We have Admins who are able to create folders an...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.