code: def _validate_ids(self, resource_ids):
          
          for resource_id in resource_ids:
              if self._id_regex.fullmatch(resource_id) is None:
                  LOGGER.debug('Invalid resource id requested: %s', resource_id)
                  raise _ResponseFailed(self._status.INVALID_ID)
docs: Validates a list of ids, raising a ResponseFailed error if invalid.
  
          Args:
              resource_id (list of str): The ids to validate
  
          Raises:
              ResponseFailed: The id was invalid, and a status of INVALID_ID
                  will be sent with the response.