code: def device_event_retrieve(self, device_event_id, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.device_event_retrieve_with_http_info(device_event_id, **kwargs)  # noqa: E501
          else:
              (data) = self.device_event_retrieve_with_http_info(device_event_id, **kwargs)  # noqa: E501
              return data
docs: Retrieve a device event.  # noqa: E501
  
          Retrieve a specific device event.  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.device_event_retrieve(device_event_id, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param str device_event_id: (required)
          :return: DeviceEventData
                   If the method is called asynchronously,
                   returns the request thread.