Ddb streams - will it invoke on a ddb.update() error?

16 Views Asked by At

Let's say I have a lambda that calls ddb.update() and it fails. Will the TST 'new image' still be invoked, but with a null payload? Or will it not be invoked unless the ddb.update() succeeded?

1

There are 1 best solutions below

0
Leeroy Hannigan On

The updates must succeed, and must also alter data.

  • If it fails - No stream event
  • If it succeeds, but did not change any values - No stream event.