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);
    }