aws-sdk-js Questions
3
Solved
AWS's SDK for JavaScript version 3 seems to have 2 different clients for Simple Email Service (SES).
I realized I have been using @aws-sdk/client-sesv2 but:
The actual doc on their GitHub repos is...
Lippmann asked 8/12, 2022 at 20:36
4
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...
Lauretta asked 8/3, 2021 at 19:3
3
Solved
Is there any way how to use XRay instrumentation for AWS NodeJS SDK v3? In SDK v2, AWSXray was able to capture any client and instrument it for tracing into XRay.
I have been trying the same thing ...
Sharleensharlene asked 3/6, 2022 at 7:6
3
Solved
I'm implementing a web application and it calls lambda function to get data from database.
I chose Serverless Aurora and wrote a code, but I get the exception "Error: Received packet in the wrong s...
Ruction asked 5/5, 2019 at 5:1
2
Solved
In aws-sdk v2 for javascript, we instantiate s3 client using:
var s3 = new AWS.S3({
accessKeyId: 'YOUR-ACCESSKEYID' ,
secretAccessKey: 'YOUR-SECRETACCESSKEY' ,
s3ForcePathStyle: true,
signature...
Bootery asked 8/4, 2022 at 3:20
2
Looking at the AWS sdk for Javascript, it appears we can only create stacks but i'm looking of a way to deploy a stack. How would I do that with the provided sdk; this is what they currently have: ...
Gypsophila asked 13/9, 2018 at 0:58
4
Solved
Can anyone explain how to use GetItemInput type when calling DocumentClient.get ?
If I pass in an object of any type get works but if I try and strongly type the params object I get this error:
V...
Keven asked 14/3, 2019 at 16:11
2
Solved
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...
Waaf asked 7/4, 2021 at 16:41
4
Solved
I'm updating an existing project from V2 to V3 of the AWS SDK for JavaScript and also moving our usage from JavaScript to TypeScript.
I'm struggling to define strongly typed handlers for the Lamdas...
Darling asked 3/1, 2023 at 7:10
9
Solved
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...
Hydrothermal asked 8/8, 2016 at 14:27
2
I'm in the process of converting a library that uses v2 of the AWS S3 SDK to v3.
My library is an implementation of an interface of another library. The other library offers the interface to abstra...
Hedvig asked 30/4, 2023 at 15:21
4
Solved
I am seeing an awful lot of this message:
NOTE: The AWS SDK for JavaScript (v2) will be put into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more inf...
Selfregulating asked 17/2, 2023 at 1:21
3
Solved
Has anyone also noticed a change in behavior of the AWS JS SDK recently?
Because I have a CI pipeline in Github Actions, in which a Local DynamoDB is started and written to the DyanmoDB using this ...
Subclass asked 30/6, 2023 at 20:48
4
Solved
I'm trying to build my project that uses the AWS Javascript SDK v3. Here my tsconfig.json
{
"compilerOptions": {
"target":"ES2020",
"module": "common...
Frederigo asked 19/2, 2021 at 10:16
7
I am running a NodeJS application that uses the aws-sdk library. I have the following environment variables exported:
AWS_ACCESS_KEY_ID=XXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX
I...
Octad asked 9/7, 2018 at 21:7
3
Solved
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 crede...
Bornholm asked 6/7, 2021 at 3:39
2
Solved
How can I invoke a lambda function using Javascript (TypeScript) aws-sdk v3?
I use the following code which does not seems to work:
// the payload (input) to the "my-lambda-func" is a JSO...
Lisettelisha asked 22/10, 2021 at 15:18
4
Solved
With serverless we can add process.env variables by creating a configuration file entry like this:
environment:
STRIPE_SECRET_KEY: ${self:custom.secrets.stripeSecretKey} # Stripe secret API key
...
Loth asked 11/8, 2019 at 0:51
2
Solved
DynamoDB's Number type supports 38 digits of decimal precision. This is not big enough to store a 128-bit integer which would require 39 digits. The max value is 340,282,366,920,938,463,463,374,607...
Ruche asked 30/10, 2018 at 2:23
1
Solved
AWS forced me to upgrade do SDK V3, and now I'm having such a hard time setting up my credentials. They used to be hard-coded like:
AWS.config.update({
apiVersion: "2010-12-01",
accessK...
Orsay asked 13/2, 2023 at 22:9
3
I have a collection of URLs that may or may not belong to a particular bucket. These are not public.
I'm using the nodejs aws-sdk to get them.
However, the getObject function needs params Bucket ...
Sable asked 24/5, 2017 at 13:51
2
Currently, we are using aws-sdk v2, and extracting uploaded file URL in this way
const res = await S3Client
.upload({
Body: body,
Bucket: bucket,
Key: key,
ContentType: contentType,
})
.pro...
Ultramarine asked 15/6, 2021 at 10:17
1
I am trying to upload an image file (jpeg) to AWS S3 via the PUT interface, and I am getting the error SignatureDoesNotMatch.
On my server, I have an Express node.js app with an endpoint to creat...
Milburt asked 16/3, 2018 at 23:1
1
So I'm migrating my project to the new AWS-SDK V3 because of it's modularity. However, I can't seem to figure out what to use instead of CognitoIdentityCredentials with the new API. This is what co...
Crosslink asked 7/3, 2021 at 13:2
1
I am confused by the difference in the javascript aws-sdk between SES and SESV2. My default assumption would be that V2 is an upgrade/update and should cover all the functionality that the base SES...
Dorpat asked 21/2, 2021 at 19:16
1 Next >
© 2022 - 2025 — McMap. All rights reserved.