{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1","id":90989096,"html_url":"https://github.com/sematext/logsene-aws-lambda-s3/pull/1","diff_url":"https://github.com/sematext/logsene-aws-lambda-s3/pull/1.diff","patch_url":"https://github.com/sematext/logsene-aws-lambda-s3/pull/1.patch","issue_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/1","number":1,"state":"open","locked":false,"title":"Connection open+close within lambda handler","user":{"login":"radu-gheorghe","id":1482088,"avatar_url":"https://avatars.githubusercontent.com/u/1482088?v=3","gravatar_id":"","url":"https://api.github.com/users/radu-gheorghe","html_url":"https://github.com/radu-gheorghe","followers_url":"https://api.github.com/users/radu-gheorghe/followers","following_url":"https://api.github.com/users/radu-gheorghe/following{/other_user}","gists_url":"https://api.github.com/users/radu-gheorghe/gists{/gist_id}","starred_url":"https://api.github.com/users/radu-gheorghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radu-gheorghe/subscriptions","organizations_url":"https://api.github.com/users/radu-gheorghe/orgs","repos_url":"https://api.github.com/users/radu-gheorghe/repos","events_url":"https://api.github.com/users/radu-gheorghe/events{/privacy}","received_events_url":"https://api.github.com/users/radu-gheorghe/received_events","type":"User","site_admin":false},"body":"And overall simplification since S3 handlers are async and thus retry for up to 3 times on error.","created_at":"2016-10-26T11:54:01Z","updated_at":"2016-10-26T11:54:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0cdc1391fbb874b2af75c8d44c7cea6b0fa1749","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/1/comments","statuses_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/statuses/5ee2d1397df9fe30bcbafa101ffe1e925f9ad5ad","head":{"label":"sematext:radu-gheorghe-patch-1","ref":"radu-gheorghe-patch-1","sha":"5ee2d1397df9fe30bcbafa101ffe1e925f9ad5ad","user":{"login":"sematext","id":332582,"avatar_url":"https://avatars.githubusercontent.com/u/332582?v=3","gravatar_id":"","url":"https://api.github.com/users/sematext","html_url":"https://github.com/sematext","followers_url":"https://api.github.com/users/sematext/followers","following_url":"https://api.github.com/users/sematext/following{/other_user}","gists_url":"https://api.github.com/users/sematext/gists{/gist_id}","starred_url":"https://api.github.com/users/sematext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sematext/subscriptions","organizations_url":"https://api.github.com/users/sematext/orgs","repos_url":"https://api.github.com/users/sematext/repos","events_url":"https://api.github.com/users/sematext/events{/privacy}","received_events_url":"https://api.github.com/users/sematext/received_events","type":"Organization","site_admin":false},"repo":{"id":48176739,"name":"logsene-aws-lambda-s3","full_name":"sematext/logsene-aws-lambda-s3","owner":{"login":"sematext","id":332582,"avatar_url":"https://avatars.githubusercontent.com/u/332582?v=3","gravatar_id":"","url":"https://api.github.com/users/sematext","html_url":"https://github.com/sematext","followers_url":"https://api.github.com/users/sematext/followers","following_url":"https://api.github.com/users/sematext/following{/other_user}","gists_url":"https://api.github.com/users/sematext/gists{/gist_id}","starred_url":"https://api.github.com/users/sematext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sematext/subscriptions","organizations_url":"https://api.github.com/users/sematext/orgs","repos_url":"https://api.github.com/users/sematext/repos","events_url":"https://api.github.com/users/sematext/events{/privacy}","received_events_url":"https://api.github.com/users/sematext/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sematext/logsene-aws-lambda-s3","description":"AWS Lambda script to send S3 logs to Logsene","fork":false,"url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3","forks_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/forks","keys_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/teams","hooks_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/hooks","issue_events_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/events{/number}","events_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/events","assignees_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/assignees{/user}","branches_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/branches{/branch}","tags_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/tags","blobs_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/refs{/sha}","trees_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/statuses/{sha}","languages_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/languages","stargazers_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/stargazers","contributors_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/contributors","subscribers_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/subscribers","subscription_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/subscription","commits_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/commits{/sha}","git_commits_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/commits{/sha}","comments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/comments{/number}","issue_comment_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/comments{/number}","contents_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/contents/{+path}","compare_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/merges","archive_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/downloads","issues_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues{/number}","pulls_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls{/number}","milestones_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/milestones{/number}","notifications_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/labels{/name}","releases_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/releases{/id}","deployments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/deployments","created_at":"2015-12-17T13:45:56Z","updated_at":"2016-03-17T16:19:24Z","pushed_at":"2016-10-26T11:54:01Z","git_url":"git://github.com/sematext/logsene-aws-lambda-s3.git","ssh_url":"git@github.com:sematext/logsene-aws-lambda-s3.git","clone_url":"https://github.com/sematext/logsene-aws-lambda-s3.git","svn_url":"https://github.com/sematext/logsene-aws-lambda-s3","homepage":"","size":954,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sematext:master","ref":"master","sha":"66fcfd9f87fd5e16342631916e6f7729c174f29e","user":{"login":"sematext","id":332582,"avatar_url":"https://avatars.githubusercontent.com/u/332582?v=3","gravatar_id":"","url":"https://api.github.com/users/sematext","html_url":"https://github.com/sematext","followers_url":"https://api.github.com/users/sematext/followers","following_url":"https://api.github.com/users/sematext/following{/other_user}","gists_url":"https://api.github.com/users/sematext/gists{/gist_id}","starred_url":"https://api.github.com/users/sematext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sematext/subscriptions","organizations_url":"https://api.github.com/users/sematext/orgs","repos_url":"https://api.github.com/users/sematext/repos","events_url":"https://api.github.com/users/sematext/events{/privacy}","received_events_url":"https://api.github.com/users/sematext/received_events","type":"Organization","site_admin":false},"repo":{"id":48176739,"name":"logsene-aws-lambda-s3","full_name":"sematext/logsene-aws-lambda-s3","owner":{"login":"sematext","id":332582,"avatar_url":"https://avatars.githubusercontent.com/u/332582?v=3","gravatar_id":"","url":"https://api.github.com/users/sematext","html_url":"https://github.com/sematext","followers_url":"https://api.github.com/users/sematext/followers","following_url":"https://api.github.com/users/sematext/following{/other_user}","gists_url":"https://api.github.com/users/sematext/gists{/gist_id}","starred_url":"https://api.github.com/users/sematext/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sematext/subscriptions","organizations_url":"https://api.github.com/users/sematext/orgs","repos_url":"https://api.github.com/users/sematext/repos","events_url":"https://api.github.com/users/sematext/events{/privacy}","received_events_url":"https://api.github.com/users/sematext/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sematext/logsene-aws-lambda-s3","description":"AWS Lambda script to send S3 logs to Logsene","fork":false,"url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3","forks_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/forks","keys_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/teams","hooks_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/hooks","issue_events_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/events{/number}","events_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/events","assignees_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/assignees{/user}","branches_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/branches{/branch}","tags_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/tags","blobs_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/refs{/sha}","trees_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/statuses/{sha}","languages_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/languages","stargazers_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/stargazers","contributors_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/contributors","subscribers_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/subscribers","subscription_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/subscription","commits_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/commits{/sha}","git_commits_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/git/commits{/sha}","comments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/comments{/number}","issue_comment_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/comments{/number}","contents_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/contents/{+path}","compare_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/merges","archive_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/downloads","issues_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues{/number}","pulls_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls{/number}","milestones_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/milestones{/number}","notifications_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/labels{/name}","releases_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/releases{/id}","deployments_url":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/deployments","created_at":"2015-12-17T13:45:56Z","updated_at":"2016-03-17T16:19:24Z","pushed_at":"2016-10-26T11:54:01Z","git_url":"git://github.com/sematext/logsene-aws-lambda-s3.git","ssh_url":"git@github.com:sematext/logsene-aws-lambda-s3.git","clone_url":"https://github.com/sematext/logsene-aws-lambda-s3.git","svn_url":"https://github.com/sematext/logsene-aws-lambda-s3","homepage":"","size":954,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1"},"html":{"href":"https://github.com/sematext/logsene-aws-lambda-s3/pull/1"},"issue":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/1"},"comments":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sematext/logsene-aws-lambda-s3/statuses/5ee2d1397df9fe30bcbafa101ffe1e925f9ad5ad"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":59,"changed_files":1}}
{"actor":{"display_login":"radu-gheorghe"}}