new DynamoDBStream(request, response)
Create a new DynamoDBStream object. This will call the Record eventName as an instance method (eg { eventName: 'INSERT' } -> [FILE SYSTEM]/streams/table-name insert(..)) for each event record and set Request -> this.req and Response -> this.res. After all events have been processed return success.
Parameters:
Name | Type | Description |
---|---|---|
request |
Request | The Request object passed to your Class |
response |
Response | The Response object passed to your Class |