# File lib/aws/simple_db/item_collection.rb, line 481 def _each_item next_token, max, options = {}, &block handle_query_options(options) do |collection, opts| return collection._each_item(next_token, max, opts, &block) end response = select_request(options, next_token, max) if output_list == 'itemName()' response.items.each do |item| yield(self[item.name]) end else response.items.each do |item| yield(ItemData.new(:domain => domain, :response_object => item)) end end response.next_token end