{"action":"created","comment":{"url":"https://api.github.com/repos/silinternational/awsops/pulls/comments/217064388","pull_request_review_id":154689541,"id":217064388,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzA2NDM4OA==","diff_hunk":"@@ -0,0 +1,65 @@\n+// Copyright © 2018 NAME HERE <EMAIL ADDRESS>\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package cmd\n+\n+import (\n+\t\"fmt\"\n+\t\"github.com/silinternational/awsops/lib\"\n+\t\"github.com/spf13/cobra\"\n+\t\"os\"\n+)\n+\n+var functionName string\n+var payload string\n+\n+// invokeCmd represents the invoke command\n+var invokeCmd = &cobra.Command{\n+\tUse:   \"invoke\",\n+\tShort: \"Invoke a lambda function\",\n+\tLong: `A longer description that spans multiple lines and likely contains examples","path":"cmd/lambdaInvoke.go","position":31,"original_position":31,"commit_id":"6e2df586344c8d7954f1866a0dac0a2e254ff415","original_commit_id":"13651f5cfaf676abba69ce97f61ad863b3d9c6a0","user":{"login":"fillup","id":556105,"node_id":"MDQ6VXNlcjU1NjEwNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/556105?v=4","gravatar_id":"","url":"https://api.github.com/users/fillup","html_url":"https://github.com/fillup","followers_url":"https://api.github.com/users/fillup/followers","following_url":"https://api.github.com/users/fillup/following{/other_user}","gists_url":"https://api.github.com/users/fillup/gists{/gist_id}","starred_url":"https://api.github.com/users/fillup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillup/subscriptions","organizations_url":"https://api.github.com/users/fillup/orgs","repos_url":"https://api.github.com/users/fillup/repos","events_url":"https://api.github.com/users/fillup/events{/privacy}","received_events_url":"https://api.github.com/users/fillup/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2018-09-12T14:51:04Z","updated_at":"2018-09-12T14:51:04Z","html_url":"https://github.com/silinternational/awsops/pull/3#discussion_r217064388","pull_request_url":"https://api.github.com/repos/silinternational/awsops/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/comments/217064388"},"html":{"href":"https://github.com/silinternational/awsops/pull/3#discussion_r217064388"},"pull_request":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/3"}},"in_reply_to_id":216449786},"pull_request":{"url":"https://api.github.com/repos/silinternational/awsops/pulls/3","id":214405315,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDA1MzE1","html_url":"https://github.com/silinternational/awsops/pull/3","diff_url":"https://github.com/silinternational/awsops/pull/3.diff","patch_url":"https://github.com/silinternational/awsops/pull/3.patch","issue_url":"https://api.github.com/repos/silinternational/awsops/issues/3","number":3,"state":"open","locked":false,"title":"Add subcommands for right sizing ecs clusters and invoking lambda functions","user":{"login":"fillup","id":556105,"node_id":"MDQ6VXNlcjU1NjEwNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/556105?v=4","gravatar_id":"","url":"https://api.github.com/users/fillup","html_url":"https://github.com/fillup","followers_url":"https://api.github.com/users/fillup/followers","following_url":"https://api.github.com/users/fillup/following{/other_user}","gists_url":"https://api.github.com/users/fillup/gists{/gist_id}","starred_url":"https://api.github.com/users/fillup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillup/subscriptions","organizations_url":"https://api.github.com/users/fillup/orgs","repos_url":"https://api.github.com/users/fillup/repos","events_url":"https://api.github.com/users/fillup/events{/privacy}","received_events_url":"https://api.github.com/users/fillup/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-10T18:37:09Z","updated_at":"2018-09-12T14:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fd6dce65ace285328a1df00186b708754d8591f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/silinternational/awsops/pulls/3/commits","review_comments_url":"https://api.github.com/repos/silinternational/awsops/pulls/3/comments","review_comment_url":"https://api.github.com/repos/silinternational/awsops/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silinternational/awsops/issues/3/comments","statuses_url":"https://api.github.com/repos/silinternational/awsops/statuses/6e2df586344c8d7954f1866a0dac0a2e254ff415","head":{"label":"silinternational:feature/lambda-refactor","ref":"feature/lambda-refactor","sha":"6e2df586344c8d7954f1866a0dac0a2e254ff415","user":{"login":"silinternational","id":1247676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDc2NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1247676?v=4","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"repo":{"id":116691560,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY2OTE1NjA=","name":"awsops","full_name":"silinternational/awsops","owner":{"login":"silinternational","id":1247676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDc2NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1247676?v=4","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silinternational/awsops","description":"CLI for automating common AWS operations such as replacing EC2 instances for an ECS cluster","fork":false,"url":"https://api.github.com/repos/silinternational/awsops","forks_url":"https://api.github.com/repos/silinternational/awsops/forks","keys_url":"https://api.github.com/repos/silinternational/awsops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silinternational/awsops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silinternational/awsops/teams","hooks_url":"https://api.github.com/repos/silinternational/awsops/hooks","issue_events_url":"https://api.github.com/repos/silinternational/awsops/issues/events{/number}","events_url":"https://api.github.com/repos/silinternational/awsops/events","assignees_url":"https://api.github.com/repos/silinternational/awsops/assignees{/user}","branches_url":"https://api.github.com/repos/silinternational/awsops/branches{/branch}","tags_url":"https://api.github.com/repos/silinternational/awsops/tags","blobs_url":"https://api.github.com/repos/silinternational/awsops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silinternational/awsops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silinternational/awsops/git/refs{/sha}","trees_url":"https://api.github.com/repos/silinternational/awsops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silinternational/awsops/statuses/{sha}","languages_url":"https://api.github.com/repos/silinternational/awsops/languages","stargazers_url":"https://api.github.com/repos/silinternational/awsops/stargazers","contributors_url":"https://api.github.com/repos/silinternational/awsops/contributors","subscribers_url":"https://api.github.com/repos/silinternational/awsops/subscribers","subscription_url":"https://api.github.com/repos/silinternational/awsops/subscription","commits_url":"https://api.github.com/repos/silinternational/awsops/commits{/sha}","git_commits_url":"https://api.github.com/repos/silinternational/awsops/git/commits{/sha}","comments_url":"https://api.github.com/repos/silinternational/awsops/comments{/number}","issue_comment_url":"https://api.github.com/repos/silinternational/awsops/issues/comments{/number}","contents_url":"https://api.github.com/repos/silinternational/awsops/contents/{+path}","compare_url":"https://api.github.com/repos/silinternational/awsops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silinternational/awsops/merges","archive_url":"https://api.github.com/repos/silinternational/awsops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silinternational/awsops/downloads","issues_url":"https://api.github.com/repos/silinternational/awsops/issues{/number}","pulls_url":"https://api.github.com/repos/silinternational/awsops/pulls{/number}","milestones_url":"https://api.github.com/repos/silinternational/awsops/milestones{/number}","notifications_url":"https://api.github.com/repos/silinternational/awsops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silinternational/awsops/labels{/name}","releases_url":"https://api.github.com/repos/silinternational/awsops/releases{/id}","deployments_url":"https://api.github.com/repos/silinternational/awsops/deployments","created_at":"2018-01-08T15:08:59Z","updated_at":"2018-06-25T20:54:58Z","pushed_at":"2018-09-10T20:01:56Z","git_url":"git://github.com/silinternational/awsops.git","ssh_url":"git@github.com:silinternational/awsops.git","clone_url":"https://github.com/silinternational/awsops.git","svn_url":"https://github.com/silinternational/awsops","homepage":null,"size":71004,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"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":1,"watchers":0,"default_branch":"master"}},"base":{"label":"silinternational:develop","ref":"develop","sha":"5b9887a041c7a21d16216bdb842ff7a5a8ae52f6","user":{"login":"silinternational","id":1247676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDc2NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1247676?v=4","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"repo":{"id":116691560,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY2OTE1NjA=","name":"awsops","full_name":"silinternational/awsops","owner":{"login":"silinternational","id":1247676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDc2NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1247676?v=4","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silinternational/awsops","description":"CLI for automating common AWS operations such as replacing EC2 instances for an ECS cluster","fork":false,"url":"https://api.github.com/repos/silinternational/awsops","forks_url":"https://api.github.com/repos/silinternational/awsops/forks","keys_url":"https://api.github.com/repos/silinternational/awsops/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silinternational/awsops/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silinternational/awsops/teams","hooks_url":"https://api.github.com/repos/silinternational/awsops/hooks","issue_events_url":"https://api.github.com/repos/silinternational/awsops/issues/events{/number}","events_url":"https://api.github.com/repos/silinternational/awsops/events","assignees_url":"https://api.github.com/repos/silinternational/awsops/assignees{/user}","branches_url":"https://api.github.com/repos/silinternational/awsops/branches{/branch}","tags_url":"https://api.github.com/repos/silinternational/awsops/tags","blobs_url":"https://api.github.com/repos/silinternational/awsops/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silinternational/awsops/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silinternational/awsops/git/refs{/sha}","trees_url":"https://api.github.com/repos/silinternational/awsops/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silinternational/awsops/statuses/{sha}","languages_url":"https://api.github.com/repos/silinternational/awsops/languages","stargazers_url":"https://api.github.com/repos/silinternational/awsops/stargazers","contributors_url":"https://api.github.com/repos/silinternational/awsops/contributors","subscribers_url":"https://api.github.com/repos/silinternational/awsops/subscribers","subscription_url":"https://api.github.com/repos/silinternational/awsops/subscription","commits_url":"https://api.github.com/repos/silinternational/awsops/commits{/sha}","git_commits_url":"https://api.github.com/repos/silinternational/awsops/git/commits{/sha}","comments_url":"https://api.github.com/repos/silinternational/awsops/comments{/number}","issue_comment_url":"https://api.github.com/repos/silinternational/awsops/issues/comments{/number}","contents_url":"https://api.github.com/repos/silinternational/awsops/contents/{+path}","compare_url":"https://api.github.com/repos/silinternational/awsops/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silinternational/awsops/merges","archive_url":"https://api.github.com/repos/silinternational/awsops/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silinternational/awsops/downloads","issues_url":"https://api.github.com/repos/silinternational/awsops/issues{/number}","pulls_url":"https://api.github.com/repos/silinternational/awsops/pulls{/number}","milestones_url":"https://api.github.com/repos/silinternational/awsops/milestones{/number}","notifications_url":"https://api.github.com/repos/silinternational/awsops/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silinternational/awsops/labels{/name}","releases_url":"https://api.github.com/repos/silinternational/awsops/releases{/id}","deployments_url":"https://api.github.com/repos/silinternational/awsops/deployments","created_at":"2018-01-08T15:08:59Z","updated_at":"2018-06-25T20:54:58Z","pushed_at":"2018-09-10T20:01:56Z","git_url":"git://github.com/silinternational/awsops.git","ssh_url":"git@github.com:silinternational/awsops.git","clone_url":"https://github.com/silinternational/awsops.git","svn_url":"https://github.com/silinternational/awsops","homepage":null,"size":71004,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"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":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/3"},"html":{"href":"https://github.com/silinternational/awsops/pull/3"},"issue":{"href":"https://api.github.com/repos/silinternational/awsops/issues/3"},"comments":{"href":"https://api.github.com/repos/silinternational/awsops/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silinternational/awsops/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/silinternational/awsops/statuses/6e2df586344c8d7954f1866a0dac0a2e254ff415"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fillup"}}