{"action":"reopened","issue":{"url":"https://api.github.com/repos/awslabs/lambda-streams-to-firehose/issues/3","labels_url":"https://api.github.com/repos/awslabs/lambda-streams-to-firehose/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/lambda-streams-to-firehose/issues/3/comments","events_url":"https://api.github.com/repos/awslabs/lambda-streams-to-firehose/issues/3/events","html_url":"https://github.com/awslabs/lambda-streams-to-firehose/issues/3","id":125882336,"number":3,"title":"Update documentation on Lambda tests and handler","user":{"login":"t-pascal","id":11443531,"avatar_url":"https://avatars.githubusercontent.com/u/11443531?v=3","gravatar_id":"","url":"https://api.github.com/users/t-pascal","html_url":"https://github.com/t-pascal","followers_url":"https://api.github.com/users/t-pascal/followers","following_url":"https://api.github.com/users/t-pascal/following{/other_user}","gists_url":"https://api.github.com/users/t-pascal/gists{/gist_id}","starred_url":"https://api.github.com/users/t-pascal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-pascal/subscriptions","organizations_url":"https://api.github.com/users/t-pascal/orgs","repos_url":"https://api.github.com/users/t-pascal/repos","events_url":"https://api.github.com/users/t-pascal/events{/privacy}","received_events_url":"https://api.github.com/users/t-pascal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"IanMeyers","id":6339696,"avatar_url":"https://avatars.githubusercontent.com/u/6339696?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMeyers","html_url":"https://github.com/IanMeyers","followers_url":"https://api.github.com/users/IanMeyers/followers","following_url":"https://api.github.com/users/IanMeyers/following{/other_user}","gists_url":"https://api.github.com/users/IanMeyers/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMeyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMeyers/subscriptions","organizations_url":"https://api.github.com/users/IanMeyers/orgs","repos_url":"https://api.github.com/users/IanMeyers/repos","events_url":"https://api.github.com/users/IanMeyers/events{/privacy}","received_events_url":"https://api.github.com/users/IanMeyers/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-01-11T06:35:30Z","updated_at":"2016-01-23T08:26:36Z","closed_at":null,"body":"I found it difficult to start the code because I was missing a few helpful pieces that can be addressed in the README file. I would be happy to submit a pull request, but it seems easy enough to describe.\r\n\r\n1. The correct handler to use in the lambda function is \"index.handler\". This is the default, but it's not obvious what it should be in the README deployment section.\r\n\r\n2. (kinesis) When configuring the \"test\" section in the lambda tab, it is useful to mention that the sample event data template should be Kinesis, and that the \"eventSourceARN\" key should be set to the correct (or test) kinesis ARN.\r\n\r\nIf you do not, you will see errors like: `TypeError: Cannot call method 'split' of undefined at Object.exports.getStreamName (/var/task/index.js:163:33) at exports.handler (/var/task/index.js:393:28)`\r\n\r\nLastly, if the tag is set incorrectly on the Kinesis stream, you will see an error similar to: `Delivery Stream undefined does not exist in region us-east-1`"}}