Scalr\Service\Aws\S3\DataType\BucketData::getNotification PHP Method

getNotification() public method

This implementation of the GET operation uses the notification subresource to return the notification configuration of a bucket.
public getNotification ( BucketData | string $bucketName ) : string
$bucketName BucketData | string A bucket name.
return string Returns XML document
    public function getNotification($bucketName)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->getNotification($this->bucketName);
    }