Questions tagged [amazon-dynamodb-streams]

Use this tag for questions related to DynamoDB Streams, which provides a time ordered sequence of item level changes in any DynamoDB table. The changes are de-duplicated and stored for 24 hours. This capability enables you to extend the power of DynamoDB with cross-region replication, continuous analytics with Redshift integration, change notifications, and many other scenarios.

Useful links:

  1. Documentation
  2. Use cases
393 questions
0
votes
1 answer

DynamoDB Stream sending always the same event?

I'm using dynamodb stream to trigger a lambda function. My serverless.yml file is like this: functions: main: handler: app.main.handler events: - http: method: any path: /{proxy+} # to keep lambda function…
0
votes
0 answers

Why when i change my like Price and Time my dynamoDb like Update not add the new one?

Hi all i got error when i want to insert data to my dynamoDb like this in my code i have add the Symbol. and here my code public class InsertData { static AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard() …
yuyu kungkung
  • 137
  • 2
  • 13
0
votes
0 answers

DynamoDB stream some items not sent to lambda

I have a DynamoDB stream configured to trigger a lambda. Most inserts to the table do go to the lambda, but I have a number of them that seem to never go to the lambda. At the top of my lambda, I log the received event, which includes the keys of…
srchulo
  • 5,143
  • 4
  • 43
  • 72
0
votes
0 answers

Can I use DynamoDB Streams inside my Java Code to update/add data to my DynamoDB?

I am using AWS Lambda(written in Java) to get data from DyanamoDB using DynamoDB Streams and then processing this data. Now I want to store the response of this processed data in the same DynamoDB Table and against the same primary key. Is it…
0
votes
1 answer

DynamoDB add trigger before insert

Is there any way we can create a trigger before an insert into DynamoDB? I have a scenario where I do not know the partition key and I was considering resolving it in the trigger (which is a regular lambda function). This is because I needed a…
0
votes
2 answers

DynamoDB "query" vs "get_item" operations on a partition key or a GSI

If you perform a "get_item" operation on a dynamodb table, you must provide a partition (primary) key. You are not allowed to perform "get_item" operation on a GSI (global secondary index) even through it acts quite the same as the partition…
0
votes
0 answers

Not all the records are being updated in DynamoDB

We are updating records in DynamoDB through DynamoDB Java SDK. Sometimes there are around 100 rows that need to be updated. Only half of the rows are being updated, and the remaining doesn't get updated. This is happening only with one DynamoDB…
miserable
  • 697
  • 1
  • 12
  • 31
0
votes
1 answer

What happens to the events in Dyanamo DB Stream once its received by AWS Lambda

I have a DynamoDB Table and it is linked with one Stream, and that stream is linked with one lambda function which processed it. Question - With above set up if an event comes to the stream and is ingested in Lambda, does that event still resides in…
0
votes
1 answer

Print DynamoDB Stream output

I have a DynamoDB with streams enabled. I used AWS console to create a lambda and gave all the permissions necessary. I just want to look at the output generated by the stream when I create a record. For this I am manually creating a record in my…
0
votes
1 answer

Best Index to use for DynamoDB

I have a table called "posts" which stores online blogs and articles. The data structure is different depending on the type of post. For now, there are 3: news, how-to, and vlog. Two more may be added in the future. My table has the following…
0
votes
1 answer

Stream Records in Dynamodb

I started reading about dynamodb and came across concept of Dynamodb streams I have a doubt If we delete an item from dynamodb does a stream record is generated for that item in dynamodb streams? If yes how will the stream record will look like?
0
votes
1 answer

How to connect an Amazon-Alexa skill to Lambda and dynamoDB

I'm learning Amazon Alexa and trying to connect the code to Lambda and dynamoDB. I've done some research in the last few days but the only tutorials I can find are from 2017-2018. Maybe I haven't found the right tutorial, but is anyone here willing…
0
votes
3 answers

What are the extra values added to DynamoDB streams and how do I remove them?

I am using DynamoDB streams to sync data to Elasticsearch using Lambda The format of the data (from https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.Lambda.Tutorial.html) looks like: "NewImage": { …
0
votes
1 answer

Datatype creation in AWS DynamoDB and elastic search for List of URL's

I have enabled Aws DynamoDB streams and created a lambda function to index the data into Elasticsearch. In my DynamoDb table there is a column named URL in this i am going to store the list of URL's for a single row. URL is most preferably like…
0
votes
1 answer

Dynamodb stream lambda trigger data being received is missing a field

The dynamodb has 23 fields but what we received is only 22 fields on the lambda trigger event there is a missing attribute being received by the lambda function.