code: def list_consumers(self, publisher_id=None):
          
          query_parameters = {}
          if publisher_id is not None:
              query_parameters['publisherId'] = self._serialize.query('publisher_id', publisher_id, 'str')
          response = self._send(http_method='GET',
                                location_id='4301c514-5f34-4f5d-a145-f0ea7b5b7d19',
                                version='5.0',
                                query_parameters=query_parameters)
          return self._deserialize('[Consumer]', self._unwrap_collection(response))
docs: ListConsumers.
          Get a list of available service hook consumer services. Optionally filter by consumers that support at least one event type from the specific publisher.
          :param str publisher_id:
          :rtype: [Consumer]