Scalr\Service\Aws\S3\Handler\BucketHandler::getAcl PHP Метод

getAcl() публичный Метод

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 ( string $bucketName ) : Scalr\Service\Aws\S3\DataType\AccessControlPolicyData
$bucketName string A bucket name
Результат Scalr\Service\Aws\S3\DataType\AccessControlPolicyData Returns object which describes ACL for the bucket.
    public function getAcl($bucketName)
    {
        return $this->getS3()->getApiHandler()->getBucketAcl($bucketName);
    }