/** * @depends testHeadBucket * @expectedException \Aws\S3\Exception\NoSuchCORSConfigurationException */ public function testGetBucketCors() { $this->log(__METHOD__); $this->client->getBucketCors(array('Bucket' => $this->bucket)); }
/** * getCors * * @return \Guzzle\Service\Resource\Model */ public function getCors() { return $this->client->getBucketCors(['Bucket' => $this->name]); }