All Questions
Tagged with amazon-dynamodb aws-lambda
1,953
questions
-2
votes
0
answers
39
views
Optimizing data processing with AWS Lambda and DynamoDB [closed]
I'm currently working on a C++ codebase that processes high-throughput data, generating around 5000 records per second. These records are sent in batches to AWS Kinesis Firehose. The data has a column ...
0
votes
2
answers
33
views
DynamoDB BatchGetCommand 400 "key does not match schema"
I'm having an issue using BatchGetCommand to get a list of records from a DynamoDB table.
I am using an AWS Lambda that uses NodeJS 18.x.
I have been able to get ScanCommand, GetCommand and ...
0
votes
1
answer
16
views
error while performing dynamo.query(params); from lambda function
When performing body = await dynamo.query(params); from a lambda function, i am getting response as :
"statusCode": "400",
"body": "User: arn:aws:sts::891377999999:...
0
votes
0
answers
46
views
Cannot find package 'aws-sdk' imported from /var/task/index.mjs
i am getting this error
even after having the correct configuration
using nodejs 18
{
"errorType": "ReferenceError",
"errorMessage": "require is not defined ...
-2
votes
1
answer
35
views
Runtime.ImportModuleError: Error: Cannot find module '@aws/dynamodb-data-mapper
2024-07-01T17:48:02.915Z undefined ERROR Uncaught Exception
{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module '@aws/...
0
votes
1
answer
26
views
Disable dynamoDB table
Is there any way to find if a dynamoDB table being used by any of my lambda functions?
I have checked the code of "zip" type functions. But it is possible that the table may be in use by an &...
1
vote
0
answers
45
views
Local lambda unable to connect to local DynamoDb
I have a golang lambda (using https://github.com/aws/aws-sdk-go-v2) running inside an amazon al2023 docker container. I also have an amazon/dynamodb-local running as well. I can curl dynamo and run ...
0
votes
1
answer
37
views
Efficient data processing with AWS Lambda and DynamoDB: Handling timeouts and scalability issues
I am building a serverless application using AWS Lambda and DynamoDB. The application processes a large amount of incoming data, performs some transformations, and then stores the results back into ...
0
votes
1
answer
64
views
DynamoDB query works on CLI but not in Lambda: "Value null at 'key' failed to satisfy constraint"
On the CLI this works:
aws dynamodb query \
--table-name BatchTable \
--index-name completed_index \
--key-condition-expression "completed = :completed" \
--expression-...
0
votes
1
answer
28
views
Athena DynamoDB connector timeout
Since the Athena DynamoDB connector (https://docs.aws.amazon.com/athena/latest/ug/connectors-dynamodb.html) is based on Lambda, does the Lambda time limitation affect executing the query?
What ...
0
votes
1
answer
50
views
DynamoDB concurrency
I have an AWS Lambda function that is invoked concurrently N times and I have to trigger an action once it is invoked for the N-th time.
The documentation about DynamoDB atomicity/transactionality is ...
0
votes
0
answers
23
views
Why is LoadAsync returning incorrect data from DynamoDB?
I'm trying to create a Dictionary app API using AWS that can Load a dictionary entry from DynamoDB.
The problem is that when I try to GET a dictionary entry from the DB using LoadAsync, all of the ...
0
votes
1
answer
81
views
What is the best way to query and filter data from an AWS DynamoDB table?
Let us say that we have an AWS DynamoDB table called Table. Below is the JSON representation of the data we store in Table.
{
"attr1": <attribute 1>,
"attr2": <...
-1
votes
1
answer
40
views
dynamo.updateItem(...).promise is not a function
I'm referring to the CDK tutorial here https://cdkworkshop.com/20-typescript/40-hit-counter/200-handler.html
but my code below
await dynamo.updateItem({
TableName: process.env.HITS_TABLE_NAME,
...
-1
votes
1
answer
24
views
Sliding delay and timer solution with durable storage in AWS
I have a requirement to create a sliding timers
When event-type-A with ID happens, create a record with ID and timer of 60 minutes
When event-type-B happens with ID, update the record of ID to reset ...