`<https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html>`_

        :arg name: Role name

def get_role(self, name=None, params=None):
        """
        `<https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html>`_

        :arg name: Role name
        """
        return self.transport.perform_request(
            "GET", _make_path("_security", "role", name), params=params
        )