{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9","id":276765478,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc2NzY1NDc4","html_url":"https://github.com/mattclay/aws-terminator/pull/9","diff_url":"https://github.com/mattclay/aws-terminator/pull/9.diff","patch_url":"https://github.com/mattclay/aws-terminator/pull/9.patch","issue_url":"https://api.github.com/repos/mattclay/aws-terminator/issues/9","number":9,"state":"closed","locked":false,"title":"get account id use a session instead of raw creds","user":{"login":"kapilt","id":21650,"node_id":"MDQ6VXNlcjIxNjUw","avatar_url":"https://avatars3.githubusercontent.com/u/21650?v=4","gravatar_id":"","url":"https://api.github.com/users/kapilt","html_url":"https://github.com/kapilt","followers_url":"https://api.github.com/users/kapilt/followers","following_url":"https://api.github.com/users/kapilt/following{/other_user}","gists_url":"https://api.github.com/users/kapilt/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilt/subscriptions","organizations_url":"https://api.github.com/users/kapilt/orgs","repos_url":"https://api.github.com/users/kapilt/repos","events_url":"https://api.github.com/users/kapilt/events{/privacy}","received_events_url":"https://api.github.com/users/kapilt/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-05-07T20:45:04Z","updated_at":"2019-05-07T20:49:45Z","closed_at":"2019-05-07T20:49:45Z","merged_at":"2019-05-07T20:49:45Z","merge_commit_sha":"e9f6db54bbeb3041215603249a1860b5cf4561ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mattclay/aws-terminator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattclay/aws-terminator/issues/9/comments","statuses_url":"https://api.github.com/repos/mattclay/aws-terminator/statuses/f4f1fabebc7dc055985bdaa5a498d3e2dbc152ae","head":{"label":"kapilt:account-id-session","ref":"account-id-session","sha":"f4f1fabebc7dc055985bdaa5a498d3e2dbc152ae","user":{"login":"kapilt","id":21650,"node_id":"MDQ6VXNlcjIxNjUw","avatar_url":"https://avatars3.githubusercontent.com/u/21650?v=4","gravatar_id":"","url":"https://api.github.com/users/kapilt","html_url":"https://github.com/kapilt","followers_url":"https://api.github.com/users/kapilt/followers","following_url":"https://api.github.com/users/kapilt/following{/other_user}","gists_url":"https://api.github.com/users/kapilt/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilt/subscriptions","organizations_url":"https://api.github.com/users/kapilt/orgs","repos_url":"https://api.github.com/users/kapilt/repos","events_url":"https://api.github.com/users/kapilt/events{/privacy}","received_events_url":"https://api.github.com/users/kapilt/received_events","type":"User","site_admin":false},"repo":{"id":185424005,"node_id":"MDEwOlJlcG9zaXRvcnkxODU0MjQwMDU=","name":"aws-terminator","full_name":"kapilt/aws-terminator","private":false,"owner":{"login":"kapilt","id":21650,"node_id":"MDQ6VXNlcjIxNjUw","avatar_url":"https://avatars3.githubusercontent.com/u/21650?v=4","gravatar_id":"","url":"https://api.github.com/users/kapilt","html_url":"https://github.com/kapilt","followers_url":"https://api.github.com/users/kapilt/followers","following_url":"https://api.github.com/users/kapilt/following{/other_user}","gists_url":"https://api.github.com/users/kapilt/gists{/gist_id}","starred_url":"https://api.github.com/users/kapilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapilt/subscriptions","organizations_url":"https://api.github.com/users/kapilt/orgs","repos_url":"https://api.github.com/users/kapilt/repos","events_url":"https://api.github.com/users/kapilt/events{/privacy}","received_events_url":"https://api.github.com/users/kapilt/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kapilt/aws-terminator","description":"An AWS Lambda function for cleaning up AWS resources.","fork":true,"url":"https://api.github.com/repos/kapilt/aws-terminator","forks_url":"https://api.github.com/repos/kapilt/aws-terminator/forks","keys_url":"https://api.github.com/repos/kapilt/aws-terminator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kapilt/aws-terminator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kapilt/aws-terminator/teams","hooks_url":"https://api.github.com/repos/kapilt/aws-terminator/hooks","issue_events_url":"https://api.github.com/repos/kapilt/aws-terminator/issues/events{/number}","events_url":"https://api.github.com/repos/kapilt/aws-terminator/events","assignees_url":"https://api.github.com/repos/kapilt/aws-terminator/assignees{/user}","branches_url":"https://api.github.com/repos/kapilt/aws-terminator/branches{/branch}","tags_url":"https://api.github.com/repos/kapilt/aws-terminator/tags","blobs_url":"https://api.github.com/repos/kapilt/aws-terminator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kapilt/aws-terminator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kapilt/aws-terminator/git/refs{/sha}","trees_url":"https://api.github.com/repos/kapilt/aws-terminator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kapilt/aws-terminator/statuses/{sha}","languages_url":"https://api.github.com/repos/kapilt/aws-terminator/languages","stargazers_url":"https://api.github.com/repos/kapilt/aws-terminator/stargazers","contributors_url":"https://api.github.com/repos/kapilt/aws-terminator/contributors","subscribers_url":"https://api.github.com/repos/kapilt/aws-terminator/subscribers","subscription_url":"https://api.github.com/repos/kapilt/aws-terminator/subscription","commits_url":"https://api.github.com/repos/kapilt/aws-terminator/commits{/sha}","git_commits_url":"https://api.github.com/repos/kapilt/aws-terminator/git/commits{/sha}","comments_url":"https://api.github.com/repos/kapilt/aws-terminator/comments{/number}","issue_comment_url":"https://api.github.com/repos/kapilt/aws-terminator/issues/comments{/number}","contents_url":"https://api.github.com/repos/kapilt/aws-terminator/contents/{+path}","compare_url":"https://api.github.com/repos/kapilt/aws-terminator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kapilt/aws-terminator/merges","archive_url":"https://api.github.com/repos/kapilt/aws-terminator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kapilt/aws-terminator/downloads","issues_url":"https://api.github.com/repos/kapilt/aws-terminator/issues{/number}","pulls_url":"https://api.github.com/repos/kapilt/aws-terminator/pulls{/number}","milestones_url":"https://api.github.com/repos/kapilt/aws-terminator/milestones{/number}","notifications_url":"https://api.github.com/repos/kapilt/aws-terminator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kapilt/aws-terminator/labels{/name}","releases_url":"https://api.github.com/repos/kapilt/aws-terminator/releases{/id}","deployments_url":"https://api.github.com/repos/kapilt/aws-terminator/deployments","created_at":"2019-05-07T14:56:45Z","updated_at":"2019-05-07T14:56:48Z","pushed_at":"2019-05-07T20:44:49Z","git_url":"git://github.com/kapilt/aws-terminator.git","ssh_url":"git@github.com:kapilt/aws-terminator.git","clone_url":"https://github.com/kapilt/aws-terminator.git","svn_url":"https://github.com/kapilt/aws-terminator","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattclay:master","ref":"master","sha":"00e0c64dd82de2a51086fa9103d60b0f0b545744","user":{"login":"mattclay","id":806360,"node_id":"MDQ6VXNlcjgwNjM2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/806360?v=4","gravatar_id":"","url":"https://api.github.com/users/mattclay","html_url":"https://github.com/mattclay","followers_url":"https://api.github.com/users/mattclay/followers","following_url":"https://api.github.com/users/mattclay/following{/other_user}","gists_url":"https://api.github.com/users/mattclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mattclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattclay/subscriptions","organizations_url":"https://api.github.com/users/mattclay/orgs","repos_url":"https://api.github.com/users/mattclay/repos","events_url":"https://api.github.com/users/mattclay/events{/privacy}","received_events_url":"https://api.github.com/users/mattclay/received_events","type":"User","site_admin":false},"repo":{"id":185408640,"node_id":"MDEwOlJlcG9zaXRvcnkxODU0MDg2NDA=","name":"aws-terminator","full_name":"mattclay/aws-terminator","private":false,"owner":{"login":"mattclay","id":806360,"node_id":"MDQ6VXNlcjgwNjM2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/806360?v=4","gravatar_id":"","url":"https://api.github.com/users/mattclay","html_url":"https://github.com/mattclay","followers_url":"https://api.github.com/users/mattclay/followers","following_url":"https://api.github.com/users/mattclay/following{/other_user}","gists_url":"https://api.github.com/users/mattclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mattclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattclay/subscriptions","organizations_url":"https://api.github.com/users/mattclay/orgs","repos_url":"https://api.github.com/users/mattclay/repos","events_url":"https://api.github.com/users/mattclay/events{/privacy}","received_events_url":"https://api.github.com/users/mattclay/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mattclay/aws-terminator","description":"An AWS Lambda function for cleaning up AWS resources.","fork":false,"url":"https://api.github.com/repos/mattclay/aws-terminator","forks_url":"https://api.github.com/repos/mattclay/aws-terminator/forks","keys_url":"https://api.github.com/repos/mattclay/aws-terminator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattclay/aws-terminator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattclay/aws-terminator/teams","hooks_url":"https://api.github.com/repos/mattclay/aws-terminator/hooks","issue_events_url":"https://api.github.com/repos/mattclay/aws-terminator/issues/events{/number}","events_url":"https://api.github.com/repos/mattclay/aws-terminator/events","assignees_url":"https://api.github.com/repos/mattclay/aws-terminator/assignees{/user}","branches_url":"https://api.github.com/repos/mattclay/aws-terminator/branches{/branch}","tags_url":"https://api.github.com/repos/mattclay/aws-terminator/tags","blobs_url":"https://api.github.com/repos/mattclay/aws-terminator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattclay/aws-terminator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattclay/aws-terminator/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattclay/aws-terminator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattclay/aws-terminator/statuses/{sha}","languages_url":"https://api.github.com/repos/mattclay/aws-terminator/languages","stargazers_url":"https://api.github.com/repos/mattclay/aws-terminator/stargazers","contributors_url":"https://api.github.com/repos/mattclay/aws-terminator/contributors","subscribers_url":"https://api.github.com/repos/mattclay/aws-terminator/subscribers","subscription_url":"https://api.github.com/repos/mattclay/aws-terminator/subscription","commits_url":"https://api.github.com/repos/mattclay/aws-terminator/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattclay/aws-terminator/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattclay/aws-terminator/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattclay/aws-terminator/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattclay/aws-terminator/contents/{+path}","compare_url":"https://api.github.com/repos/mattclay/aws-terminator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattclay/aws-terminator/merges","archive_url":"https://api.github.com/repos/mattclay/aws-terminator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattclay/aws-terminator/downloads","issues_url":"https://api.github.com/repos/mattclay/aws-terminator/issues{/number}","pulls_url":"https://api.github.com/repos/mattclay/aws-terminator/pulls{/number}","milestones_url":"https://api.github.com/repos/mattclay/aws-terminator/milestones{/number}","notifications_url":"https://api.github.com/repos/mattclay/aws-terminator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattclay/aws-terminator/labels{/name}","releases_url":"https://api.github.com/repos/mattclay/aws-terminator/releases{/id}","deployments_url":"https://api.github.com/repos/mattclay/aws-terminator/deployments","created_at":"2019-05-07T13:33:30Z","updated_at":"2019-05-07T20:38:21Z","pushed_at":"2019-05-07T20:49:44Z","git_url":"git://github.com/mattclay/aws-terminator.git","ssh_url":"git@github.com:mattclay/aws-terminator.git","clone_url":"https://github.com/mattclay/aws-terminator.git","svn_url":"https://github.com/mattclay/aws-terminator","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9"},"html":{"href":"https://github.com/mattclay/aws-terminator/pull/9"},"issue":{"href":"https://api.github.com/repos/mattclay/aws-terminator/issues/9"},"comments":{"href":"https://api.github.com/repos/mattclay/aws-terminator/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mattclay/aws-terminator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattclay/aws-terminator/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mattclay/aws-terminator/statuses/f4f1fabebc7dc055985bdaa5a498d3e2dbc152ae"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mattclay","id":806360,"node_id":"MDQ6VXNlcjgwNjM2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/806360?v=4","gravatar_id":"","url":"https://api.github.com/users/mattclay","html_url":"https://github.com/mattclay","followers_url":"https://api.github.com/users/mattclay/followers","following_url":"https://api.github.com/users/mattclay/following{/other_user}","gists_url":"https://api.github.com/users/mattclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mattclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattclay/subscriptions","organizations_url":"https://api.github.com/users/mattclay/orgs","repos_url":"https://api.github.com/users/mattclay/repos","events_url":"https://api.github.com/users/mattclay/events{/privacy}","received_events_url":"https://api.github.com/users/mattclay/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"mattclay"}}