Questions tagged [aws-sdk-js-v3]
53 questions
0
votes
1 answer
node application using AWS SDK v3 DynamoDB Client deployed to AWS beanstalk cannot read env. variables
I have a nodejs application which uses AWS SDK for JavaScript v3 client-dynamodb. The application is deployed to an AWS beanstalk environment where I have created two environment properties for AWS_Access_key_ID and AWS_Secret_access_key. The…

Siyavash
- 452
- 1
- 5
- 13
0
votes
0 answers
How can I get error logs when executing the S3 client in a lambda context?
The lambda function handler below does not log anything after the line console.log('Getting already imported files list...');. The function just times out (30s for example).
The bucket 'testbucket' is not available (intentionally). Though, I am not…

michaelschufi
- 109
- 2
- 10
0
votes
1 answer
How to upload multiple image on aws sdk js v3?
This is for single image upload :
const [img, setImg] = useState();
this if upload handler
const handleUpload = async () => {
// ARRAY OF IMAGES
const mediaData = new FormData();
for…

razer
- 108
- 2
- 18
0
votes
1 answer
Lack of images property in response from Kinesis Video Streams / GetImages retrieved by aws-sdk-js-v3
Body of the handler:
const one: ValidatedEventAPIGatewayProxyEvent = async (event) => {
const input = {
"EndTimestamp": new Date(1653843539000),
"Format": "JPEG",
"ImageSelectorType": "PRODUCER_TIMESTAMP",
…

DarekW
- 21
- 6
0
votes
1 answer
NodeJs, AWS, From a lambda how to read a file contents of S3 bucket, using AWS SDK V3
Using the AWS SDK version 3, how to read a file of S3 bucket from a nodejs based lambda?
I'm creating this for my self reference in the future.
I use middy middleware in my lambdas. Hence, used the same template. Please note that it's…

FullMoon
- 724
- 6
- 20
0
votes
1 answer
Receive massages with @aws-sdk/client-chime-sdk-messaging
I'm using @aws-sdk/client-chime-sdk-messaging to make requests to get/send/delete channel messages
import { ChimeSDKMessagingClient, ListChannelMessagesCommand } from "@aws-sdk/client-chime-sdk-messaging";
const credentials = {
accessKeyId:…

Alisa Liso
- 36
- 7
0
votes
1 answer
AWS S3Client throws error: 'emitWarning' is not a function
I am trying to create an S3Client using the @aws-sdk/client-s3 package, as shown below:
const { S3Client } = require('@aws-sdk/client-s3')
const client = new S3Client({ region: 'us-east-1' })
It runs fine locally, but when I upload the code to a…

wristbands
- 1,021
- 11
- 22
0
votes
1 answer
Has the AWS JS SDK REMOVED the ability to control the timeout for dynamodb operations?
While having problems getting setting request timeout on dynamodb/document client (with the v2 SDK, How can the default timeout be set for AWS DocumentClient javascript SDK) I decided to explore switching the the v3 API, since it has certain…

Marvin
- 2,537
- 24
- 35