public function deleteResource(PersistentResource $resource)
    {
        $this->s3Client->deleteObject(array(
            'Bucket' => $this->bucketName,
            'Key' => $this->keyPrefix . $resource->getSha1()
        ));
        return true;
    }
public function deleteResource(PersistentResource $resource)
    {
        $this->s3Client->deleteObject(array(
            'Bucket' => $this->bucketName,
            'Key' => $this->keyPrefix . $resource->getSha1()
        ));
        return true;
    }
public function deleteResource ( PersistentResource $ resource ) { $ this -> s3Client -> deleteObject ( array ( 'Bucket' => $ this -> bucketName , 'Key' => $ this -> keyPrefix . $ resource -> getSha1 ( ) ) ) ; return true ; }
Deletes the storage data related to the given Resource object

@param \Neos\Flow\ResourceManagement\PersistentResource $resource The Resource to delete the storage data of
@return boolean TRUE if removal was successful
@api
Deletes the storage data related to the given Resource object