Questions tagged [amazon-dynamodb]
Amazon DynamoDB is a proprietary closed-source cloudnative key-value and document database optimized for horizontal scaling. It's a fully managed, multiregion, multimaster database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB is hosted on AWS, but also has a local deployment option just for development and functional testing. Used on amazon.com.
amazon-dynamodb
14,218
questions
0
votes
1
answer
11
views
How to model Student/Teacher/Class with DynamoDb?
I'm modeling a DynamoDb schema, which currently supports three main entities: Teacher, Student and Class. Class entity has these relationships:
A teacher has a class
A student enrolls to a class
My ...
0
votes
1
answer
21
views
Find a specific ID from the array javascript dynamoDB(local)
This is Array
response:
{
"sk": "srName",
"Name" : "John",
"pk": "srName:6666ad97-53bf-4557-8b19-a552a75edd39"
},
...
0
votes
1
answer
18
views
Redshift COPY with JSON PATH Case Sensitivity
I want to copy a file from S3 to Redshift. Content is in camelCase:
{"accountId":{"S:"1acb4"}}
Redshift columns are in all lowercase. This is marshalled Dynamo JSON, so I am ...
-1
votes
0
answers
21
views
How to mock my util DynamoDB GetItemCommand implementation?
I've got code that uses GetItemCommand to get data from my DynamoDb instance, however I'm not entirely sure how I go about testing my function that uses it.
I don't want to test the GetItemCommand ...
0
votes
1
answer
35
views
How to check if a result is received?
I am fetching data from my DynamoDB and would like to know if I am actually receiving anything back.
I'm aware that the Item will always be returned, but I'm not sure what is actually returned when an ...
0
votes
1
answer
14
views
Will DynamoDB accept a string literal defined with backticks on separate lines as an UpdateExpression?
I have a lengthy UpdateExpression for my Dynamo update. I'm wondering if it's possible to break it onto separate lines with string literal backticks and it still work?
Before:
UpdateExpression: "...
0
votes
1
answer
21
views
Handling concurrent updates to dynamodb without overwriting
Firstly, I have seen this question and understand the takeaways from the points made.
However I'm unsure how I can improve my current situation.
I have a placeholder entry in my DynamoDB that will be ...
-2
votes
0
answers
33
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 ...
-1
votes
1
answer
41
views
How to use DynamoDB data?
I'm trying to do stuff with my DynamoDB data, but my IDE is complaining about types.
From the documentation, it looks like an example response from the DB would be data like:
{
"Item": {
...
0
votes
1
answer
14
views
DynamoDB Storage type for an array of objects?
I'm wanting to store an array of objects in my DynamoDB table but I'm unsure of which data type I should be specifying.
For example, I'm getting an API response with data that looks like:
{
id: 123,
...
-1
votes
0
answers
21
views
AWS returns Endpoint request timed out for load testing
Currently using JMeter to do load-testing on AWS Lambda endpoints. When using 1 - 100 users (threads) with 10 API calls per user to perform the load-testing, everything comes back successfully.
...
0
votes
0
answers
8
views
AWS Appsync Data Source and Web Identities
So, I have a setup composed by cognito, appsync and dynamoDB. Users authenticate through Cognito, where through claims they assume an IAM role given by the group they're in (let's call this ...
0
votes
0
answers
15
views
InvalidSignatureException: Unknown error: The request signature we calculated does not match the signature you provided
I had build an App using React Native and Amplify. First time using AWS it was a bit hard to leanr the complexity of AWS, but i feel like it would be better to remove AWS from the project and add ...
-1
votes
1
answer
33
views
How to use AWS SDK for Dynamodb in an android application, not using Amplify
I've run into a bit of a brick wall when trying to figure out the AWS SDK with Dynamodb.
I have an android app that I want to use to access a DynamoDB table.
what I'm trying to set up is:
an IAM role ...
0
votes
2
answers
30
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 ...