Example #1
0
 /**
  * @depends testHeadBucket
  */
 public function testGetBucketLogging()
 {
     $this->log(__METHOD__);
     $result = $this->client->getBucketLogging(array('Bucket' => $this->bucket));
     $this->assertNull($result['LoggingEnabled']);
 }
Example #2
0
 /**
  * getLogging
  *
  * @return \Guzzle\Service\Resource\Model
  */
 public function getLogging()
 {
     return $this->client->getBucketLogging(['Bucket' => $this->name]);
 }