Scalr\Service\Aws\S3\Handler\BucketHandler::getNotification PHP Метод

getNotification() публичный Метод

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 Scalr\Service\Aws\S3\DataType\BucketData | string A bucket name.
Результат string Returns XML document
    public function getNotification($bucketName)
    {
        if ($bucketName instanceof BucketData) {
            $bucketName = $bucketName->bucketName;
        }
        return $this->getS3()->getApiHandler()->getBucketNotification($bucketName);
    }