# File lib/aws/ec2/snapshot_collection.rb, line 51
      def each(&block)
        opts = {}
        opts[:owner_ids] = @owners.map { |id| id.to_s } unless @owners.empty?
        opts[:restorable_by_user_ids] = @restorable_by.map { |id| id.to_s } unless
          @restorable_by.empty?
        resp = filtered_request(:describe_snapshots, opts)
        resp.snapshot_set.each do |v|
          snapshot = Snapshot.new(v.snapshot_id, :config => config)
          yield(snapshot)
        end
        nil
      end