{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/827","labels_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/827/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/827/events","html_url":"https://github.com/aws/aws-sdk-ruby/issues/827","id":81731966,"number":827,"title":"Client#put_object does not support grant_write","user":{"login":"nate","id":130,"avatar_url":"https://avatars.githubusercontent.com/u/130?v=3","gravatar_id":"","url":"https://api.github.com/users/nate","html_url":"https://github.com/nate","followers_url":"https://api.github.com/users/nate/followers","following_url":"https://api.github.com/users/nate/following{/other_user}","gists_url":"https://api.github.com/users/nate/gists{/gist_id}","starred_url":"https://api.github.com/users/nate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nate/subscriptions","organizations_url":"https://api.github.com/users/nate/orgs","repos_url":"https://api.github.com/users/nate/repos","events_url":"https://api.github.com/users/nate/events{/privacy}","received_events_url":"https://api.github.com/users/nate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-28T03:05:18Z","updated_at":"2015-05-28T23:02:45Z","closed_at":null,"body":"In [Client#put_object](http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Client.html#put_object-instance_method) the options `grant_full_control`, `grant_read`, `grant_read_acp`, and `grant_write_acp` are available, but not `grant_write`. This despite [the api](http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html) supporting it via the `x-amz-grant-write` header.\r\n\r\nI can't figure out where this is defined so I can fix it an make a pull request."},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/comments/106622694","html_url":"https://github.com/aws/aws-sdk-ruby/issues/827#issuecomment-106622694","issue_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/827","id":106622694,"user":{"login":"trevorrowe","id":27863,"avatar_url":"https://avatars.githubusercontent.com/u/27863?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorrowe","html_url":"https://github.com/trevorrowe","followers_url":"https://api.github.com/users/trevorrowe/followers","following_url":"https://api.github.com/users/trevorrowe/following{/other_user}","gists_url":"https://api.github.com/users/trevorrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorrowe/subscriptions","organizations_url":"https://api.github.com/users/trevorrowe/orgs","repos_url":"https://api.github.com/users/trevorrowe/repos","events_url":"https://api.github.com/users/trevorrowe/events{/privacy}","received_events_url":"https://api.github.com/users/trevorrowe/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T23:02:45Z","updated_at":"2015-05-28T23:02:45Z","body":"Looking at the S3 API documentation, I don't believe grant write is supported for PUT object:\r\n\r\n> x-amz-grant-write Not applicable. This applies only when granting permission on a bucket.\r\n\r\nhttp://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html\r\n\r\nThere is though x-amz-grant-write-acp, settable via `:grant_write_acp`."}}