Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boto3 / botocore does not support setting s3 acl on object version #385

Closed
zepplen opened this issue Dec 2, 2015 · 1 comment
Closed
Labels
bug This issue is a confirmed bug. requires-model-update This issue requires an update in a model to resolve. s3

Comments

@zepplen
Copy link

zepplen commented Dec 2, 2015

According to the documentation it does not appear that boto3 supports setting an S3 version object's ACl as described in the Aws API documentation: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTacl.html#ExampleVersionObjectPutacl

BotoCore Documentation: https://botocore.readthedocs.org/en/latest/reference/services/s3.html#S3.Client.put_object_acl

I have tried just setting a VersionId parameter, however I get this error back.

Unknown parameter in input: "VersionId", must be one of: ACL, AccessControlPolicy, Bucket, ContentMD5, GrantFullControl, GrantRead, GrantReadACP, GrantWrite, GrantWriteACP, Key, RequestPayer

@JordonPhillips JordonPhillips added bug This issue is a confirmed bug. s3 requires-model-update This issue requires an update in a model to resolve. labels Dec 2, 2015
@JordonPhillips
Copy link
Contributor

Thanks for reporting! Looks like this is a bug in our model for S3. We'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. requires-model-update This issue requires an update in a model to resolve. s3
Projects
None yet
Development

No branches or pull requests

2 participants