{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/969","repository_url":"https://api.github.com/repos/aws/aws-sdk-ruby","labels_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/969/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/969/events","html_url":"https://github.com/aws/aws-sdk-ruby/issues/969","id":113270403,"number":969,"title":"How to copy a specified version of an object?","user":{"login":"christiangenco","id":179361,"avatar_url":"https://avatars.githubusercontent.com/u/179361?v=3","gravatar_id":"","url":"https://api.github.com/users/christiangenco","html_url":"https://github.com/christiangenco","followers_url":"https://api.github.com/users/christiangenco/followers","following_url":"https://api.github.com/users/christiangenco/following{/other_user}","gists_url":"https://api.github.com/users/christiangenco/gists{/gist_id}","starred_url":"https://api.github.com/users/christiangenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiangenco/subscriptions","organizations_url":"https://api.github.com/users/christiangenco/orgs","repos_url":"https://api.github.com/users/christiangenco/repos","events_url":"https://api.github.com/users/christiangenco/events{/privacy}","received_events_url":"https://api.github.com/users/christiangenco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/labels/feature%20request","name":"feature request","color":"009800"},{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/labels/Version%202","name":"Version 2","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-10-26T01:48:05Z","updated_at":"2016-08-18T01:51:08Z","closed_at":"2015-11-11T17:48:20Z","body":"The [Amazon REST API Documentation](http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html) cites the following:\r\n\r\n> ### Sample Request: Copying a specified version of an object\r\n\r\n> The following request copies the key my-image.jpg with the specified version ID and copies it into the bucket bucket and gives it the key my-second-image.jpg.\r\n\r\n>     PUT /my-second-image.jpg HTTP/1.1\r\n>     Host: bucket.s3.amazonaws.com\r\n>     Date: Wed, 28 Oct 2009 22:32:00 GMT\r\n>     x-amz-copy-source: /bucket/my-image.jpg?versionId=3/L4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo\r\n>     Authorization: authorization string\r\n\r\nI see the [copy_from](https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-resources/lib/aws-sdk-resources/services/s3/object.rb#L44) and [copy_to](https://github.com/aws/aws-sdk-ruby/blob/master/aws-sdk-resources/lib/aws-sdk-resources/services/s3/object.rb#L85) methods in `Aws::S3::Object`, but I can't for the life of me figure out how to specify a `versionId` in either of these requests.\r\n\r\nAm I missing something painfully obvious, or should I resort to a raw REST request?"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/comments/240601838","html_url":"https://github.com/aws/aws-sdk-ruby/issues/969#issuecomment-240601838","issue_url":"https://api.github.com/repos/aws/aws-sdk-ruby/issues/969","id":240601838,"user":{"login":"lwoggardner","id":192672,"avatar_url":"https://avatars.githubusercontent.com/u/192672?v=3","gravatar_id":"","url":"https://api.github.com/users/lwoggardner","html_url":"https://github.com/lwoggardner","followers_url":"https://api.github.com/users/lwoggardner/followers","following_url":"https://api.github.com/users/lwoggardner/following{/other_user}","gists_url":"https://api.github.com/users/lwoggardner/gists{/gist_id}","starred_url":"https://api.github.com/users/lwoggardner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwoggardner/subscriptions","organizations_url":"https://api.github.com/users/lwoggardner/orgs","repos_url":"https://api.github.com/users/lwoggardner/repos","events_url":"https://api.github.com/users/lwoggardner/events{/privacy}","received_events_url":"https://api.github.com/users/lwoggardner/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T01:51:08Z","updated_at":"2016-08-18T01:51:08Z","body":"Not sure how to \"vote\" for feature requests, so I'll just \"me too\" here."}}
{"actor":{"display_login":"lwoggardner"}}