def METHOD_NAME(self, name, unique_id, description=None):
    response = self.connection.METHOD_NAME(name, unique_id,
                                               description)
    pipeline_id = response['pipelineId']
    self.addCleanup(self.connection.delete_pipeline, pipeline_id)
    return pipeline_id