Skip to main content
188 votes
9 answers
156k views

I am using the NodeJS AWS SDK to generate a presigned S3 URL. The docs give an example of generating a presigned URL. Here is my exact code (with sensitive info omitted): const AWS = require('aws-...
Dustin's user avatar
  • 2,211
4 votes
1 answer
11k views

I'm using AWS SDK for Javascript (Node.js) to read data from a DynamoDB table. The auto scaling feature does a great job during most of the time and the consumed Read Capacity Units (RCU) are really ...
Diogo M. Santana's user avatar
8 votes
6 answers
19k views

I am attempting to send a text message when a user requests to reset their password. I would like to wait for the message to be sent to alert the user if it was successful or not. I am currently ...
havak5's user avatar
  • 724
48 votes
2 answers
56k views

Given some DynamoDB JSON via a DynamoDB NewImage stream event, how do I unmarshall it to regular JSON? {"updated_at":{"N":"146548182"},"uuid":{"S":&...
hendry's user avatar
  • 11.1k
34 votes
4 answers
75k views

I am scouring the documentation, and it only provides pseudo-code of the credentials for v3 (e.g. const client = new S3Client(clientParams) How do I initialize an S3Client with the bucket and ...
Joel Hager's user avatar
  • 3,468
23 votes
4 answers
30k views

Testing an s3 upload? The method to test is export class ProcessData { constructor() {} async process(): Promise<void> { const data = await s3Client.send(new GetObjectCommand(bucket)); ...
Interlated's user avatar
  • 6,026
11 votes
2 answers
20k views

I am using AWS S3 JS SDK. I have folders within folders in my S3 bucket and I would like to list only folders at a certain level. This is the structure: bucket/folder1/folder2/folder3a/file1 bucket/...
Jan Horčička's user avatar
7 votes
1 answer
12k views

I am trying to access AWS resources with AWS-SDK using SSO credentials from the node.js application. For this, first I have created my SSO profile from AWS CLI and then I am trying to use same profile ...
rajashekar's user avatar
7 votes
4 answers
12k views

I have started using the new AWS Version 3 sdk for some of my services. Unfortunately it is not always clear how to use some features in the modular version 3 code that are available in the Version 2 ...
ORcoder's user avatar
  • 282
6 votes
1 answer
7k views

Using SNS service from the AWS SDK for JavaScript v3 in React Native When I try to create an endpoint (or execute really any command through AWS) I'm getting this error URL.hostname is not implemented ...
enesefuu's user avatar
  • 409
4 votes
2 answers
3k views

I was previously using the all-in-one aws-sdk npm module (https://www.npmjs.com/package/aws-sdk) to invoke an AWS Lambda function, and for that the following code had been working well: //...
Divyansh Goenka's user avatar
2 votes
3 answers
10k views

I need to upload some files to S3 from a NextJs application. Since it is server side I am under the impression simply setting environment variables should work but it doesn't. I know there are other ...
Affan Shahab's user avatar
0 votes
1 answer
778 views

I am trying to send an email from a Google Apps Script function (using Amazon SES Javascript SDK) using the below code - function sendemail(email,name,code,date,expiry,version) { eval(UrlFetchApp....
kartik's user avatar
  • 630
27 votes
3 answers
32k views

I am trying to make use of the async/await functionality with regard to aws and dynamo db. Below is an example of how to put an object pre asyn await, as you can see in the callback you have access to ...
Mingo's user avatar
  • 966
23 votes
1 answer
17k views

I have based a small lambda function off the cdk workshop here. I'm writing the lambda function in typescript, deploying via a pipeline which creates a cloud formation stack containing the lambda ...
thinkOfaNumber's user avatar

15 30 50 per page
1
2 3 4 5