code: def list_event_types(self, publisher_id):
          
          route_values = {}
          if publisher_id is not None:
              route_values['publisherId'] = self._serialize.url('publisher_id', publisher_id, 'str')
          response = self._send(http_method='GET',
                                location_id='db4777cd-8e08-4a84-8ba3-c974ea033718',
                                version='5.0',
                                route_values=route_values)
          return self._deserialize('[EventTypeDescriptor]', self._unwrap_collection(response))
docs: ListEventTypes.
          Get the event types for a specific publisher.
          :param str publisher_id: ID for a publisher.
          :rtype: [EventTypeDescriptor]