{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11","id":82822378,"html_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish/pull/11","diff_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish/pull/11.diff","patch_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish/pull/11.patch","issue_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/11","number":11,"state":"open","locked":false,"title":"Allow the usage of AWS Credentials objects","user":{"login":"airdrummingfool","id":631249,"avatar_url":"https://avatars.githubusercontent.com/u/631249?v=3","gravatar_id":"","url":"https://api.github.com/users/airdrummingfool","html_url":"https://github.com/airdrummingfool","followers_url":"https://api.github.com/users/airdrummingfool/followers","following_url":"https://api.github.com/users/airdrummingfool/following{/other_user}","gists_url":"https://api.github.com/users/airdrummingfool/gists{/gist_id}","starred_url":"https://api.github.com/users/airdrummingfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airdrummingfool/subscriptions","organizations_url":"https://api.github.com/users/airdrummingfool/orgs","repos_url":"https://api.github.com/users/airdrummingfool/repos","events_url":"https://api.github.com/users/airdrummingfool/events{/privacy}","received_events_url":"https://api.github.com/users/airdrummingfool/received_events","type":"User","site_admin":false},"body":"Since gulp-awspublish [passes through Credentials configuration objects](https://github.com/pgherveou/gulp-awspublish/#credentials), I thought it would be nice if this plugin did that as well. This way, instead of loading the credentials manually or putting them in environment variables, they can be loaded [any way that the AWS SDK supports](http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Credentials.html).\r\n\r\ne.g.:\r\n```js\r\nvar awsCredentials = new AWS.SharedIniFileCredentials({profile: 'myprofile'});\r\nvar publisher = awspublish.create({\r\n\tregion: 'us-east-1',\r\n\tparams: {\r\n\t\tBucket: 'my_bucket'\r\n\t},\r\n\tcredentials: awsCredentials\r\n});\r\nvar cfSettings = {\r\n\tcredentials: awsCredentials,\r\n\tdistribution: 'my_cf_dist'\r\n};\r\n```\r\n\r\nthanks for this plugin!","created_at":"2016-08-26T02:16:08Z","updated_at":"2016-08-26T02:16:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11/commits","review_comments_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11/comments","review_comment_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/11/comments","statuses_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/statuses/1949c2d406c7e71070756bf51a6336feba3a5de5","head":{"label":"airdrummingfool:master","ref":"master","sha":"1949c2d406c7e71070756bf51a6336feba3a5de5","user":{"login":"airdrummingfool","id":631249,"avatar_url":"https://avatars.githubusercontent.com/u/631249?v=3","gravatar_id":"","url":"https://api.github.com/users/airdrummingfool","html_url":"https://github.com/airdrummingfool","followers_url":"https://api.github.com/users/airdrummingfool/followers","following_url":"https://api.github.com/users/airdrummingfool/following{/other_user}","gists_url":"https://api.github.com/users/airdrummingfool/gists{/gist_id}","starred_url":"https://api.github.com/users/airdrummingfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airdrummingfool/subscriptions","organizations_url":"https://api.github.com/users/airdrummingfool/orgs","repos_url":"https://api.github.com/users/airdrummingfool/repos","events_url":"https://api.github.com/users/airdrummingfool/events{/privacy}","received_events_url":"https://api.github.com/users/airdrummingfool/received_events","type":"User","site_admin":false},"repo":{"id":66607335,"name":"gulp-cloudfront-invalidate-aws-publish","full_name":"airdrummingfool/gulp-cloudfront-invalidate-aws-publish","owner":{"login":"airdrummingfool","id":631249,"avatar_url":"https://avatars.githubusercontent.com/u/631249?v=3","gravatar_id":"","url":"https://api.github.com/users/airdrummingfool","html_url":"https://github.com/airdrummingfool","followers_url":"https://api.github.com/users/airdrummingfool/followers","following_url":"https://api.github.com/users/airdrummingfool/following{/other_user}","gists_url":"https://api.github.com/users/airdrummingfool/gists{/gist_id}","starred_url":"https://api.github.com/users/airdrummingfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airdrummingfool/subscriptions","organizations_url":"https://api.github.com/users/airdrummingfool/orgs","repos_url":"https://api.github.com/users/airdrummingfool/repos","events_url":"https://api.github.com/users/airdrummingfool/events{/privacy}","received_events_url":"https://api.github.com/users/airdrummingfool/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/airdrummingfool/gulp-cloudfront-invalidate-aws-publish","description":"A gulp-awspublish plugin that allows you to invalidate paths in AWS cloudfront.","fork":true,"url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish","forks_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/forks","keys_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/teams","hooks_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/hooks","issue_events_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/issues/events{/number}","events_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/events","assignees_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/assignees{/user}","branches_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/branches{/branch}","tags_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/tags","blobs_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/git/refs{/sha}","trees_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/statuses/{sha}","languages_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/languages","stargazers_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/stargazers","contributors_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/contributors","subscribers_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/subscribers","subscription_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/subscription","commits_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/commits{/sha}","git_commits_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/git/commits{/sha}","comments_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/comments{/number}","issue_comment_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/issues/comments{/number}","contents_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/contents/{+path}","compare_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/merges","archive_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/downloads","issues_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/issues{/number}","pulls_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/pulls{/number}","milestones_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/milestones{/number}","notifications_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/labels{/name}","releases_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/releases{/id}","deployments_url":"https://api.github.com/repos/airdrummingfool/gulp-cloudfront-invalidate-aws-publish/deployments","created_at":"2016-08-26T01:48:53Z","updated_at":"2016-08-26T01:48:54Z","pushed_at":"2016-08-26T02:05:42Z","git_url":"git://github.com/airdrummingfool/gulp-cloudfront-invalidate-aws-publish.git","ssh_url":"git@github.com:airdrummingfool/gulp-cloudfront-invalidate-aws-publish.git","clone_url":"https://github.com/airdrummingfool/gulp-cloudfront-invalidate-aws-publish.git","svn_url":"https://github.com/airdrummingfool/gulp-cloudfront-invalidate-aws-publish","homepage":"","size":16,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lpender:master","ref":"master","sha":"2b04d60089bf6f3ede0154c63ed7c11e07617e49","user":{"login":"lpender","id":1406554,"avatar_url":"https://avatars.githubusercontent.com/u/1406554?v=3","gravatar_id":"","url":"https://api.github.com/users/lpender","html_url":"https://github.com/lpender","followers_url":"https://api.github.com/users/lpender/followers","following_url":"https://api.github.com/users/lpender/following{/other_user}","gists_url":"https://api.github.com/users/lpender/gists{/gist_id}","starred_url":"https://api.github.com/users/lpender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpender/subscriptions","organizations_url":"https://api.github.com/users/lpender/orgs","repos_url":"https://api.github.com/users/lpender/repos","events_url":"https://api.github.com/users/lpender/events{/privacy}","received_events_url":"https://api.github.com/users/lpender/received_events","type":"User","site_admin":false},"repo":{"id":50382046,"name":"gulp-cloudfront-invalidate-aws-publish","full_name":"lpender/gulp-cloudfront-invalidate-aws-publish","owner":{"login":"lpender","id":1406554,"avatar_url":"https://avatars.githubusercontent.com/u/1406554?v=3","gravatar_id":"","url":"https://api.github.com/users/lpender","html_url":"https://github.com/lpender","followers_url":"https://api.github.com/users/lpender/followers","following_url":"https://api.github.com/users/lpender/following{/other_user}","gists_url":"https://api.github.com/users/lpender/gists{/gist_id}","starred_url":"https://api.github.com/users/lpender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpender/subscriptions","organizations_url":"https://api.github.com/users/lpender/orgs","repos_url":"https://api.github.com/users/lpender/repos","events_url":"https://api.github.com/users/lpender/events{/privacy}","received_events_url":"https://api.github.com/users/lpender/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish","description":"A gulp-awspublish plugin that allows you to invalidate paths in AWS cloudfront.","fork":false,"url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish","forks_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/forks","keys_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/teams","hooks_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/hooks","issue_events_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/events{/number}","events_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/events","assignees_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/assignees{/user}","branches_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/branches{/branch}","tags_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/tags","blobs_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/statuses/{sha}","languages_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/languages","stargazers_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/stargazers","contributors_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/contributors","subscribers_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/subscribers","subscription_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/subscription","commits_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/contents/{+path}","compare_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/merges","archive_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/downloads","issues_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues{/number}","pulls_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls{/number}","milestones_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/milestones{/number}","notifications_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/labels{/name}","releases_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/releases{/id}","deployments_url":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/deployments","created_at":"2016-01-25T21:25:39Z","updated_at":"2016-06-17T15:26:35Z","pushed_at":"2016-08-26T02:16:08Z","git_url":"git://github.com/lpender/gulp-cloudfront-invalidate-aws-publish.git","ssh_url":"git@github.com:lpender/gulp-cloudfront-invalidate-aws-publish.git","clone_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish.git","svn_url":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish","homepage":"","size":16,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11"},"html":{"href":"https://github.com/lpender/gulp-cloudfront-invalidate-aws-publish/pull/11"},"issue":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/11"},"comments":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/lpender/gulp-cloudfront-invalidate-aws-publish/statuses/1949c2d406c7e71070756bf51a6336feba3a5de5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"airdrummingfool"}}