# File lib/aws/dynamo_db/item_collection.rb, line 778
      def _each_item next_token, limit, options = {}, &block

        options[:exclusive_start_key] = next_token if next_token

        options[:limit] = limit if limit

        method = options.delete(:query) ? :query : :scan

        mode = case
        when options.delete(:item_data) then :item_data
        when options[:count] then :count
        else :item
        end

        response = client.send(method, options)

        _yield_items(mode, response, &block)

        response.data["LastEvaluatedKey"]

      end