{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7","id":201384678,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMzg0Njc4","html_url":"https://github.com/LeoPlatform/PHP/pull/7","diff_url":"https://github.com/LeoPlatform/PHP/pull/7.diff","patch_url":"https://github.com/LeoPlatform/PHP/pull/7.patch","issue_url":"https://api.github.com/repos/LeoPlatform/PHP/issues/7","number":7,"state":"closed","locked":false,"title":"Feature/cloudwatch putlogevent limits","user":{"login":"rachaelbradford","id":6976657,"node_id":"MDQ6VXNlcjY5NzY2NTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6976657?v=4","gravatar_id":"","url":"https://api.github.com/users/rachaelbradford","html_url":"https://github.com/rachaelbradford","followers_url":"https://api.github.com/users/rachaelbradford/followers","following_url":"https://api.github.com/users/rachaelbradford/following{/other_user}","gists_url":"https://api.github.com/users/rachaelbradford/gists{/gist_id}","starred_url":"https://api.github.com/users/rachaelbradford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rachaelbradford/subscriptions","organizations_url":"https://api.github.com/users/rachaelbradford/orgs","repos_url":"https://api.github.com/users/rachaelbradford/repos","events_url":"https://api.github.com/users/rachaelbradford/events{/privacy}","received_events_url":"https://api.github.com/users/rachaelbradford/received_events","type":"User","site_admin":false},"body":"Working on a cake shell with a large amount of output, I was encountering CloudWatch log event and rate limits. This code checks the log event size before calling `putLogEvents` and prevents hitting rate limits.","created_at":"2018-07-13T19:50:16Z","updated_at":"2018-07-13T20:00:20Z","closed_at":"2018-07-13T20:00:20Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7/commits","review_comments_url":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7/comments","review_comment_url":"https://api.github.com/repos/LeoPlatform/PHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeoPlatform/PHP/issues/7/comments","statuses_url":"https://api.github.com/repos/LeoPlatform/PHP/statuses/70a6353208b621424a5c03a329e0c44a632445c5","head":{"label":"youniquellc:feature/cloudwatch_putlogevent_limits","ref":"feature/cloudwatch_putlogevent_limits","sha":"70a6353208b621424a5c03a329e0c44a632445c5","user":{"login":"youniquellc","id":5974322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NzQzMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/5974322?v=4","gravatar_id":"","url":"https://api.github.com/users/youniquellc","html_url":"https://github.com/youniquellc","followers_url":"https://api.github.com/users/youniquellc/followers","following_url":"https://api.github.com/users/youniquellc/following{/other_user}","gists_url":"https://api.github.com/users/youniquellc/gists{/gist_id}","starred_url":"https://api.github.com/users/youniquellc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youniquellc/subscriptions","organizations_url":"https://api.github.com/users/youniquellc/orgs","repos_url":"https://api.github.com/users/youniquellc/repos","events_url":"https://api.github.com/users/youniquellc/events{/privacy}","received_events_url":"https://api.github.com/users/youniquellc/received_events","type":"Organization","site_admin":false},"repo":{"id":103703779,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM3MDM3Nzk=","name":"leo-sdk-php","full_name":"youniquellc/leo-sdk-php","owner":{"login":"youniquellc","id":5974322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5NzQzMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/5974322?v=4","gravatar_id":"","url":"https://api.github.com/users/youniquellc","html_url":"https://github.com/youniquellc","followers_url":"https://api.github.com/users/youniquellc/followers","following_url":"https://api.github.com/users/youniquellc/following{/other_user}","gists_url":"https://api.github.com/users/youniquellc/gists{/gist_id}","starred_url":"https://api.github.com/users/youniquellc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youniquellc/subscriptions","organizations_url":"https://api.github.com/users/youniquellc/orgs","repos_url":"https://api.github.com/users/youniquellc/repos","events_url":"https://api.github.com/users/youniquellc/events{/privacy}","received_events_url":"https://api.github.com/users/youniquellc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youniquellc/leo-sdk-php","description":"PHP SDK for the Leo Innovation Platform","fork":true,"url":"https://api.github.com/repos/youniquellc/leo-sdk-php","forks_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/forks","keys_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/teams","hooks_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/events","assignees_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/tags","blobs_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/languages","stargazers_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/subscription","commits_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/merges","archive_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/downloads","issues_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/releases{/id}","deployments_url":"https://api.github.com/repos/youniquellc/leo-sdk-php/deployments","created_at":"2017-09-15T21:41:09Z","updated_at":"2017-09-15T21:41:43Z","pushed_at":"2018-07-13T19:59:20Z","git_url":"git://github.com/youniquellc/leo-sdk-php.git","ssh_url":"git@github.com:youniquellc/leo-sdk-php.git","clone_url":"https://github.com/youniquellc/leo-sdk-php.git","svn_url":"https://github.com/youniquellc/leo-sdk-php","homepage":"","size":58,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"LeoPlatform:master","ref":"master","sha":"7e8d5e0fd235deb9f4a92131181270426ed59373","user":{"login":"LeoPlatform","id":30087798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDg3Nzk4","avatar_url":"https://avatars2.githubusercontent.com/u/30087798?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoPlatform","html_url":"https://github.com/LeoPlatform","followers_url":"https://api.github.com/users/LeoPlatform/followers","following_url":"https://api.github.com/users/LeoPlatform/following{/other_user}","gists_url":"https://api.github.com/users/LeoPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoPlatform/subscriptions","organizations_url":"https://api.github.com/users/LeoPlatform/orgs","repos_url":"https://api.github.com/users/LeoPlatform/repos","events_url":"https://api.github.com/users/LeoPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/LeoPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":96926631,"node_id":"MDEwOlJlcG9zaXRvcnk5NjkyNjYzMQ==","name":"PHP","full_name":"LeoPlatform/PHP","owner":{"login":"LeoPlatform","id":30087798,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDg3Nzk4","avatar_url":"https://avatars2.githubusercontent.com/u/30087798?v=4","gravatar_id":"","url":"https://api.github.com/users/LeoPlatform","html_url":"https://github.com/LeoPlatform","followers_url":"https://api.github.com/users/LeoPlatform/followers","following_url":"https://api.github.com/users/LeoPlatform/following{/other_user}","gists_url":"https://api.github.com/users/LeoPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoPlatform/subscriptions","organizations_url":"https://api.github.com/users/LeoPlatform/orgs","repos_url":"https://api.github.com/users/LeoPlatform/repos","events_url":"https://api.github.com/users/LeoPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/LeoPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LeoPlatform/PHP","description":"PHP SDK for the Leo Innovation Platform","fork":false,"url":"https://api.github.com/repos/LeoPlatform/PHP","forks_url":"https://api.github.com/repos/LeoPlatform/PHP/forks","keys_url":"https://api.github.com/repos/LeoPlatform/PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeoPlatform/PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeoPlatform/PHP/teams","hooks_url":"https://api.github.com/repos/LeoPlatform/PHP/hooks","issue_events_url":"https://api.github.com/repos/LeoPlatform/PHP/issues/events{/number}","events_url":"https://api.github.com/repos/LeoPlatform/PHP/events","assignees_url":"https://api.github.com/repos/LeoPlatform/PHP/assignees{/user}","branches_url":"https://api.github.com/repos/LeoPlatform/PHP/branches{/branch}","tags_url":"https://api.github.com/repos/LeoPlatform/PHP/tags","blobs_url":"https://api.github.com/repos/LeoPlatform/PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeoPlatform/PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeoPlatform/PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeoPlatform/PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeoPlatform/PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/LeoPlatform/PHP/languages","stargazers_url":"https://api.github.com/repos/LeoPlatform/PHP/stargazers","contributors_url":"https://api.github.com/repos/LeoPlatform/PHP/contributors","subscribers_url":"https://api.github.com/repos/LeoPlatform/PHP/subscribers","subscription_url":"https://api.github.com/repos/LeoPlatform/PHP/subscription","commits_url":"https://api.github.com/repos/LeoPlatform/PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeoPlatform/PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeoPlatform/PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeoPlatform/PHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeoPlatform/PHP/contents/{+path}","compare_url":"https://api.github.com/repos/LeoPlatform/PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeoPlatform/PHP/merges","archive_url":"https://api.github.com/repos/LeoPlatform/PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeoPlatform/PHP/downloads","issues_url":"https://api.github.com/repos/LeoPlatform/PHP/issues{/number}","pulls_url":"https://api.github.com/repos/LeoPlatform/PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/LeoPlatform/PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/LeoPlatform/PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeoPlatform/PHP/labels{/name}","releases_url":"https://api.github.com/repos/LeoPlatform/PHP/releases{/id}","deployments_url":"https://api.github.com/repos/LeoPlatform/PHP/deployments","created_at":"2017-07-11T18:58:46Z","updated_at":"2018-06-21T21:29:28Z","pushed_at":"2018-07-13T19:50:17Z","git_url":"git://github.com/LeoPlatform/PHP.git","ssh_url":"git@github.com:LeoPlatform/PHP.git","clone_url":"https://github.com/LeoPlatform/PHP.git","svn_url":"https://github.com/LeoPlatform/PHP","homepage":"","size":115,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7"},"html":{"href":"https://github.com/LeoPlatform/PHP/pull/7"},"issue":{"href":"https://api.github.com/repos/LeoPlatform/PHP/issues/7"},"comments":{"href":"https://api.github.com/repos/LeoPlatform/PHP/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/LeoPlatform/PHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeoPlatform/PHP/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/LeoPlatform/PHP/statuses/70a6353208b621424a5c03a329e0c44a632445c5"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":17,"additions":1963,"deletions":1111,"changed_files":15}}
{"actor":{"display_login":"rachaelbradford"}}