{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto3/issues/1361","repository_url":"https://api.github.com/repos/boto/boto3","labels_url":"https://api.github.com/repos/boto/boto3/issues/1361/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto3/issues/1361/comments","events_url":"https://api.github.com/repos/boto/boto3/issues/1361/events","html_url":"https://github.com/boto/boto3/issues/1361","id":275462111,"node_id":"MDU6SXNzdWUyNzU0NjIxMTE=","number":1361,"title":"Not an issue more of a question. Is there a way to just put files into S3 but not override files.","user":{"login":"OtisHarrison24","id":19709551,"node_id":"MDQ6VXNlcjE5NzA5NTUx","avatar_url":"https://avatars0.githubusercontent.com/u/19709551?v=4","gravatar_id":"","url":"https://api.github.com/users/OtisHarrison24","html_url":"https://github.com/OtisHarrison24","followers_url":"https://api.github.com/users/OtisHarrison24/followers","following_url":"https://api.github.com/users/OtisHarrison24/following{/other_user}","gists_url":"https://api.github.com/users/OtisHarrison24/gists{/gist_id}","starred_url":"https://api.github.com/users/OtisHarrison24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OtisHarrison24/subscriptions","organizations_url":"https://api.github.com/users/OtisHarrison24/orgs","repos_url":"https://api.github.com/users/OtisHarrison24/repos","events_url":"https://api.github.com/users/OtisHarrison24/events{/privacy}","received_events_url":"https://api.github.com/users/OtisHarrison24/received_events","type":"User","site_admin":false},"labels":[{"id":217065744,"node_id":"MDU6TGFiZWwyMTcwNjU3NDQ=","url":"https://api.github.com/repos/boto/boto3/labels/closing-soon-if-no-response","name":"closing-soon-if-no-response","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-20T18:58:43Z","updated_at":"2018-07-03T01:52:58Z","closed_at":"2018-01-15T18:55:25Z","author_association":"NONE","body":"Hi I was wondering is there a way to have the file never over the file that is in that directory but only add new files. ie  buckets3/2017/11/15/file.txt  If there is a file in that directory don't upload but if there wasn't a file then upload file."},"comment":{"url":"https://api.github.com/repos/boto/boto3/issues/comments/401988780","html_url":"https://github.com/boto/boto3/issues/1361#issuecomment-401988780","issue_url":"https://api.github.com/repos/boto/boto3/issues/1361","id":401988780,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTk4ODc4MA==","user":{"login":"tri-hoang","id":6132700,"node_id":"MDQ6VXNlcjYxMzI3MDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6132700?v=4","gravatar_id":"","url":"https://api.github.com/users/tri-hoang","html_url":"https://github.com/tri-hoang","followers_url":"https://api.github.com/users/tri-hoang/followers","following_url":"https://api.github.com/users/tri-hoang/following{/other_user}","gists_url":"https://api.github.com/users/tri-hoang/gists{/gist_id}","starred_url":"https://api.github.com/users/tri-hoang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tri-hoang/subscriptions","organizations_url":"https://api.github.com/users/tri-hoang/orgs","repos_url":"https://api.github.com/users/tri-hoang/repos","events_url":"https://api.github.com/users/tri-hoang/events{/privacy}","received_events_url":"https://api.github.com/users/tri-hoang/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T01:52:58Z","updated_at":"2018-07-03T01:52:58Z","author_association":"NONE","body":"Sorry to bring this up again. But is there any single request API as @OtisHarrison24 described?\r\nPer @joguSD's solution, regardless of whether a file exists or not, it would take at least 2 API calls. And in my use case, the majority of time the file does not exist, which makes the one of the call quite wasteful.\r\n\r\nIt would be great if there's a put function that returns an error if the key is already exist."}}
{"actor":{"display_login":"tri-hoang"}}