Do you have an example of how the handler code might look like for a function that can be triggered by more than one event? For example, let's say we have a function that can be triggered by both API Gateway and DynamoDB events.