Webiny\Component\Amazon\Bridge\S3\S3::getBucketAcl PHP Method

getBucketAcl() public method

Get access control policy for the bucket
public getBucketAcl ( string $bucket ) : mixed
$bucket string
return mixed
    public function getBucketAcl($bucket)
    {
        $params['Bucket'] = $bucket;
        return $this->instance->getBucketAcl($params);
    }

Usage Example

Example #1
0
 /**
  * Get access control policy for the bucket
  *
  * @param string $bucket
  *
  * @return mixed
  */
 public function getBucketAcl($bucket)
 {
     return $this->instance->getBucketAcl($bucket);
 }