You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I admit my use case is rather strange as I tend to use the lower level API methods and requests as opposed to the models, and I realise I can use the models if I need to. I'm intending on setting an ACL long after an object has been uploaded to the bucket, and so I'd like to avoid downloading the object in order to re-upload it.
However, onto my problem - I am trying to use the put_object_acl method/request in the following manner connection.put_object_acl(bucket_name, object_name, 'public-read'), which is officially supported in the XML API documentation (see the blue note).
At the moment, the code is not set up to look for a predefined ACL as the third argument, and instead expects a Hash from which it can construct the request body. I would like to use predefined ACLs, as is supported by the AWS equivalent request. I'm looking at forking the repo at the moment and getting stuck in if you don't mind.
Thanks for reading. :)
-- easkay
The text was updated successfully, but these errors were encountered:
Hi Folks,
I admit my use case is rather strange as I tend to use the lower level API methods and requests as opposed to the models, and I realise I can use the models if I need to. I'm intending on setting an ACL long after an object has been uploaded to the bucket, and so I'd like to avoid downloading the object in order to re-upload it.
However, onto my problem - I am trying to use the
put_object_acl
method/request in the following mannerconnection.put_object_acl(bucket_name, object_name, 'public-read')
, which is officially supported in the XML API documentation (see the blue note).At the moment, the code is not set up to look for a predefined ACL as the third argument, and instead expects a Hash from which it can construct the request body. I would like to use predefined ACLs, as is supported by the AWS equivalent request. I'm looking at forking the repo at the moment and getting stuck in if you don't mind.
Thanks for reading. :)
-- easkay
The text was updated successfully, but these errors were encountered: