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

setNotification() public method

This implementation of the PUT operation uses the notification subresource to enable notifications of specified events for a bucket
public setNotification ( string $notification ) : boolean
$notification string A XML Document which describes configuration
return boolean Returns true on succes or false if failure.
    public function setNotification($notification)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->setNotification($this->bucketName, $notification);
    }