{"action":"closed","issue":{"url":"https://api.github.com/repos/WowzaMediaSystems/wse-plugin-s3upload/issues/10","repository_url":"https://api.github.com/repos/WowzaMediaSystems/wse-plugin-s3upload","labels_url":"https://api.github.com/repos/WowzaMediaSystems/wse-plugin-s3upload/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/WowzaMediaSystems/wse-plugin-s3upload/issues/10/comments","events_url":"https://api.github.com/repos/WowzaMediaSystems/wse-plugin-s3upload/issues/10/events","html_url":"https://github.com/WowzaMediaSystems/wse-plugin-s3upload/issues/10","id":299551151,"number":10,"title":"use doesBucketExist instead of listBuckets","user":{"login":"fantapop","id":6658984,"avatar_url":"https://avatars3.githubusercontent.com/u/6658984?v=4","gravatar_id":"","url":"https://api.github.com/users/fantapop","html_url":"https://github.com/fantapop","followers_url":"https://api.github.com/users/fantapop/followers","following_url":"https://api.github.com/users/fantapop/following{/other_user}","gists_url":"https://api.github.com/users/fantapop/gists{/gist_id}","starred_url":"https://api.github.com/users/fantapop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fantapop/subscriptions","organizations_url":"https://api.github.com/users/fantapop/orgs","repos_url":"https://api.github.com/users/fantapop/repos","events_url":"https://api.github.com/users/fantapop/events{/privacy}","received_events_url":"https://api.github.com/users/fantapop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-22T23:49:49Z","updated_at":"2018-04-18T05:35:26Z","closed_at":"2018-04-18T05:35:26Z","author_association":"NONE","body":"On line [ModuleS3Upload.java#410](https://github.com/WowzaMediaSystems/wse-plugin-s3upload/blob/master/src/com/wowza/wms/plugin/s3upload/ModuleS3Upload.java#L410) you check to make sure the bucket exists.  You should use ```s3client.doesBucketExist()```  instead which will allow you to only require ListBucket permission on the specific bucket instead of a more encompassing unnecessary permission of ListAllMyBuckets.  It will also simplify the code and remove the need for a loop.\r\n\r\n"}}
{"actor":{"display_login":"rogerlittin"}}