def cluster_scheduler(self):
path = '<STR_LIT>'<EOL>return self.request(path)<EOL>
A scheduler resource contains information about the current scheduler
configured in a cluster. It currently supports both the Fifo and
Capacity Scheduler. You will get different information depending on
which scheduler is configured so be sure to look at the type
information.

:returns: API response object with JSON data
:rtype: :py:class:`yarn_api_client.base.Response`