Replies: 2 comments
-
I've just worked it out - in case its helpful to anyone else, as I didn't think it was obvious in the docs! Import ObjectCannedACL from the package, eg: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I keep getting the following error:
But the types within s3 say it can be a string of the following:
My code is as follows:
How else am I meant to set my ACL field apart from 'public-read'? I was using PutObjectCommand instead of upload but had the same issue.
Beta Was this translation helpful? Give feedback.
All reactions