code: def list_campaign_device_states(self, campaign_id, **kwargs):
          
          kwargs = self._verify_sort_options(kwargs)
          kwargs = self._verify_filters(kwargs, CampaignDeviceState, True)
          kwargs["campaign_id"] = campaign_id
          api = self._get_api(update_service.DefaultApi)
          return PaginatedResponse(api.update_campaign_metadata_list,
                                   lwrap_type=CampaignDeviceState, **kwargs)
docs: List campaign devices status.
  
          :param str campaign_id: Id of the update campaign (Required)
          :param int limit: number of devices state to retrieve
          :param str order: sort direction of device state when ordered by creation time (desc|asc)
          :param str after: get devices state after given id
          :return: List of :py:class:`CampaignDeviceState` objects
          :rtype: PaginatedResponse