def get_preference_categories(self, **kwargs):
response = self._requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(<EOL>self.user_id,<EOL>self.id<EOL>),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return response.json()['<STR_LIT>']<EOL>
Fetch all notification preference categories for the given communication
channel.

:calls: `GET
    /api/v1/users/:user_id/communication_channels/ \
        :communication_channel_id/notification_preference_categories \
<https://canvas.instructure.com/doc/api/notification_preferences.html#method.notification_preferences.category_index>`_

:rtype: `list`