Top "Aws-sdk-nodejs" questions

AWS SDK for JavaScript enables Node.

How to get response from S3 getObject in Node.js?

In a Node.js project I am attempting to get data back from S3. When I use getSignedURL, everything works: …

javascript node.js amazon-s3 aws-sdk aws-sdk-nodejs
using profile that assume role in aws-sdk (AWS JavaScript SDK)

Using the AWS SDK for JavaScript, I want to use a default profile that assumes the a role. This works …

node.js aws-sdk aws-sdk-nodejs
How get Environment Variables from lambda (nodejs aws-sdk)

We can set up Environment Variables in aws-lambda for example via AWS SAM: Environment: Variables: TABLE_NAME: !Ref Table How …

amazon-web-services aws-lambda nodes aws-sdk-nodejs
GET list of objects located under a specific S3 folder

I am trying to GET a list of objects located under a specific folder in an S3 bucket using a …

node.js amazon-s3 aws-sdk aws-sdk-nodejs
Call aws-cli from AWS Lambda

is there ANY way to execute aws-cli inside AWS Lambda? It doesn't seem to be pre-installed. (I've checked with "which …

amazon-web-services aws-lambda aws-cli aws-sdk-nodejs
The "chunk" argument must be of type string or an instance of Buffer

I'm running the following code and it fails with the below error. AWS Code to list all objects inside a …

javascript node.js aws-sdk-nodejs nodejs-stream nodejs-server
How to Load config from ~/.aws/config

change log says Load config from ~/.aws/config if AWS_SDK_LOAD_CONFIG is set. Couldn't find any examples or …

amazon-web-services aws-sdk aws-sdk-nodejs
AWS Lambda function write to DynamoDB

I'm a beginner with Amazon Web Services and NodeJS. I wrote a Lambda function, triggered by AWS IoT, that parse …

amazon-web-services amazon-dynamodb aws-lambda aws-sdk-nodejs
aws-sdk: NoSuchKey: The specified key does not exist?

In my nodejs project, I am using aws-sdk to download all the images from my s3 bucket, But I got …

javascript aws-sdk aws-sdk-nodejs
Mocking aws-sdk S3#putObject instance method using jest

For the source code containing: const S3 = require('aws-sdk/s3/clients') const s3 = new S3() s3.putObject(params, callback) I …

node.js amazon-s3 mocking jestjs aws-sdk-nodejs