Scalr\Service\Aws\S3\DataType\BucketData::getAcl PHP Method

getAcl() public method

This implementation of the GET operation uses the acl subresource to return the access control list (ACL) of a bucket. To use GET to return the ACL of the bucket, you must have READ_ACP access to the bucket. If READ_ACP permission is granted to the anonymous user, you can return the ACL of the bucket without using an authorization header.
public getAcl ( ) : Scalr\Service\Aws\S3\DataType\AccessControlPolicyData
return Scalr\Service\Aws\S3\DataType\AccessControlPolicyData Returns object which describes ACL for the bucket.
    public function getAcl()
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->getAcl($this->bucketName);
    }