Esempio n. 1
0
 /**
  * @depends testHeadBucket
  * @expectedException \Aws\S3\Exception\NoSuchLifecycleConfigurationException
  */
 public function testGetBucketLifecycle()
 {
     $this->log(__METHOD__);
     $this->client->getBucketLifecycle(array('Bucket' => $this->bucket));
 }
Esempio n. 2
0
 /**
  * getLifecycle
  *
  * @return \Guzzle\Service\Resource\Model
  */
 public function getLifecycle()
 {
     return $this->client->getBucketLifecycle(['Bucket' => $this->name]);
 }