public getBucketLifecycle ( string $bucketName ) : string | ||
$bucketName | string | A bucket name. |
return | string | Returns LifecycleConfiguration XML Document |
public function getBucketLifecycle($bucketName)
{
$response = $this->getBucketSubresource($bucketName, 'lifecycle');
return $response->getRawContent();
}