{"action":"created","comment":{"url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/comments/83443756","pull_request_review_id":4289072,"id":83443756,"diff_hunk":"@@ -0,0 +1,27 @@\n+package com.gu.contentapi.services\n+\n+import com.amazonaws.regions.Regions\n+import com.amazonaws.services.s3.AmazonS3Client\n+import com.amazonaws.services.s3.model.S3Object\n+import com.typesafe.scalalogging.LazyLogging\n+\n+import scala.util.{ Failure, Success, Try }\n+import com.gu.contentapi.Config.ProcessedReportsBucketName\n+\n+object S3 extends LazyLogging {","path":"send-events/src/main/scala/com/gu/contentapi/services/S3.scala","position":11,"original_position":11,"commit_id":"9b5f272bbc2934d0c4c7f6cf09fd061732bd6def","original_commit_id":"9b5f272bbc2934d0c4c7f6cf09fd061732bd6def","user":{"login":"LATaylor-guardian","id":8861681,"avatar_url":"https://avatars.githubusercontent.com/u/8861681?v=3","gravatar_id":"","url":"https://api.github.com/users/LATaylor-guardian","html_url":"https://github.com/LATaylor-guardian","followers_url":"https://api.github.com/users/LATaylor-guardian/followers","following_url":"https://api.github.com/users/LATaylor-guardian/following{/other_user}","gists_url":"https://api.github.com/users/LATaylor-guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/LATaylor-guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LATaylor-guardian/subscriptions","organizations_url":"https://api.github.com/users/LATaylor-guardian/orgs","repos_url":"https://api.github.com/users/LATaylor-guardian/repos","events_url":"https://api.github.com/users/LATaylor-guardian/events{/privacy}","received_events_url":"https://api.github.com/users/LATaylor-guardian/received_events","type":"User","site_admin":false},"body":"StrictLogging - there's no reason to be using LazyLogging as I don't believe it has any added benefit.\r\n","created_at":"2016-10-14T15:20:42Z","updated_at":"2016-10-14T15:20:42Z","html_url":"https://github.com/guardian/apple-news-analytics-lambda/pull/20#discussion_r83443756","pull_request_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/comments/83443756"},"html":{"href":"https://github.com/guardian/apple-news-analytics-lambda/pull/20#discussion_r83443756"},"pull_request":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20","id":89398868,"html_url":"https://github.com/guardian/apple-news-analytics-lambda/pull/20","diff_url":"https://github.com/guardian/apple-news-analytics-lambda/pull/20.diff","patch_url":"https://github.com/guardian/apple-news-analytics-lambda/pull/20.patch","issue_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/20","number":20,"state":"open","locked":false,"title":"Third and last Lambda","user":{"login":"oilnam","id":3343647,"avatar_url":"https://avatars.githubusercontent.com/u/3343647?v=3","gravatar_id":"","url":"https://api.github.com/users/oilnam","html_url":"https://github.com/oilnam","followers_url":"https://api.github.com/users/oilnam/followers","following_url":"https://api.github.com/users/oilnam/following{/other_user}","gists_url":"https://api.github.com/users/oilnam/gists{/gist_id}","starred_url":"https://api.github.com/users/oilnam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oilnam/subscriptions","organizations_url":"https://api.github.com/users/oilnam/orgs","repos_url":"https://api.github.com/users/oilnam/repos","events_url":"https://api.github.com/users/oilnam/events{/privacy}","received_events_url":"https://api.github.com/users/oilnam/received_events","type":"User","site_admin":false},"body":"The one responsible to send events to Ophan 🙈  🍀 ","created_at":"2016-10-14T14:52:57Z","updated_at":"2016-10-14T15:20:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"536d79043044dff61aa69d487f49e12fdce17a65","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20/commits","review_comments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20/comments","review_comment_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/20/comments","statuses_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/statuses/9b5f272bbc2934d0c4c7f6cf09fd061732bd6def","head":{"label":"guardian:l3-first","ref":"l3-first","sha":"9b5f272bbc2934d0c4c7f6cf09fd061732bd6def","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":64763193,"name":"apple-news-analytics-lambda","full_name":"guardian/apple-news-analytics-lambda","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/apple-news-analytics-lambda","description":"A lambda to push Apple News figures to Ophan","fork":false,"url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda","forks_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/forks","keys_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/teams","hooks_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/hooks","issue_events_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/events","assignees_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/tags","blobs_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/languages","stargazers_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/stargazers","contributors_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/contributors","subscribers_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/subscribers","subscription_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/subscription","commits_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/merges","archive_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/downloads","issues_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/labels{/name}","releases_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/deployments","created_at":"2016-08-02T14:20:10Z","updated_at":"2016-09-12T09:50:22Z","pushed_at":"2016-10-14T14:52:57Z","git_url":"git://github.com/guardian/apple-news-analytics-lambda.git","ssh_url":"git@github.com:guardian/apple-news-analytics-lambda.git","clone_url":"https://github.com/guardian/apple-news-analytics-lambda.git","svn_url":"https://github.com/guardian/apple-news-analytics-lambda","homepage":"","size":45,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"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":"guardian:master","ref":"master","sha":"f28bafd23ceb598ab12805e02b1698667604982a","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":64763193,"name":"apple-news-analytics-lambda","full_name":"guardian/apple-news-analytics-lambda","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/apple-news-analytics-lambda","description":"A lambda to push Apple News figures to Ophan","fork":false,"url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda","forks_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/forks","keys_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/teams","hooks_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/hooks","issue_events_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/events","assignees_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/tags","blobs_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/languages","stargazers_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/stargazers","contributors_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/contributors","subscribers_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/subscribers","subscription_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/subscription","commits_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/merges","archive_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/downloads","issues_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/labels{/name}","releases_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/deployments","created_at":"2016-08-02T14:20:10Z","updated_at":"2016-09-12T09:50:22Z","pushed_at":"2016-10-14T14:52:57Z","git_url":"git://github.com/guardian/apple-news-analytics-lambda.git","ssh_url":"git@github.com:guardian/apple-news-analytics-lambda.git","clone_url":"https://github.com/guardian/apple-news-analytics-lambda.git","svn_url":"https://github.com/guardian/apple-news-analytics-lambda","homepage":"","size":45,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"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/guardian/apple-news-analytics-lambda/pulls/20"},"html":{"href":"https://github.com/guardian/apple-news-analytics-lambda/pull/20"},"issue":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/20"},"comments":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/apple-news-analytics-lambda/statuses/9b5f272bbc2934d0c4c7f6cf09fd061732bd6def"}}}}
{"actor":{"display_login":"LATaylor-guardian"}}