{"action":"created","issue":{"url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/5","labels_url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/5/comments","events_url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/5/events","html_url":"https://github.com/davidworkman9/s3Policies/issues/5","id":96319609,"number":5,"title":"Regions ?","user":{"login":"jm4r7in","id":3028663,"avatar_url":"https://avatars.githubusercontent.com/u/3028663?v=3","gravatar_id":"","url":"https://api.github.com/users/jm4r7in","html_url":"https://github.com/jm4r7in","followers_url":"https://api.github.com/users/jm4r7in/followers","following_url":"https://api.github.com/users/jm4r7in/following{/other_user}","gists_url":"https://api.github.com/users/jm4r7in/gists{/gist_id}","starred_url":"https://api.github.com/users/jm4r7in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jm4r7in/subscriptions","organizations_url":"https://api.github.com/users/jm4r7in/orgs","repos_url":"https://api.github.com/users/jm4r7in/repos","events_url":"https://api.github.com/users/jm4r7in/events{/privacy}","received_events_url":"https://api.github.com/users/jm4r7in/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T13:48:40Z","updated_at":"2015-07-21T15:06:11Z","closed_at":"2015-07-21T15:06:11Z","body":"What about the Regions (non US) ?\r\n\r\nI've got a message \"The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\" and I think it may be because of the non-US Region. Is it possible to specify it somehow ?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/comments/123363236","html_url":"https://github.com/davidworkman9/s3Policies/issues/5#issuecomment-123363236","issue_url":"https://api.github.com/repos/davidworkman9/s3Policies/issues/5","id":123363236,"user":{"login":"davidworkman9","id":1152186,"avatar_url":"https://avatars.githubusercontent.com/u/1152186?v=3","gravatar_id":"","url":"https://api.github.com/users/davidworkman9","html_url":"https://github.com/davidworkman9","followers_url":"https://api.github.com/users/davidworkman9/followers","following_url":"https://api.github.com/users/davidworkman9/following{/other_user}","gists_url":"https://api.github.com/users/davidworkman9/gists{/gist_id}","starred_url":"https://api.github.com/users/davidworkman9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidworkman9/subscriptions","organizations_url":"https://api.github.com/users/davidworkman9/orgs","repos_url":"https://api.github.com/users/davidworkman9/repos","events_url":"https://api.github.com/users/davidworkman9/events{/privacy}","received_events_url":"https://api.github.com/users/davidworkman9/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T15:06:11Z","updated_at":"2015-07-21T15:06:11Z","body":"[Yes](https://github.com/davidworkman9/s3Policies/blob/master/s3Policy.js#L10)! I'll have to update the README, but here's how you would do that.\r\n```\r\nvar url = s3.readPolicy('LOCATION', 'BUCKET', SECONDS_BEFORE_TIMEOUT, 'FORCE_FILENAME', 'REGION');\r\n```"}}