I'm in the process of writing a Lambda function that processes events from a DynamoDB stream.
This page on DynamoDB Streams and AWS Lambda Triggers says:
AWS Lambda polls the stream and invokes your Lambda function synchronously when it detects new stream records.
Why synchronously rather than asynchronously?
In particular, what happens to the output of a Lambda function that's processing DynamoDB stream events? Is it just discarded, or does something actually consume this value?