Feedback
Do you have a suggestion to improve this website or boto3?Give us feedback.
This section demonstrates how to manage the access permissions for an S3bucket or object by using an access control list (ACL).
The example retrieves the current access control list of an S3 bucket.
importboto3# Retrieve a bucket's ACLs3=boto3.client('s3')result=s3.get_bucket_acl(Bucket='amzn-s3-demo-bucket')print(result)