# File lib/aws/simple_email_service/identity_collection.rb, line 64 def _each_item next_token, limit, options = {}, &block options[:max_items] = limit if limit options[:next_token] = next_token if next_token options[:identity_type] = @type if @type resp = client.list_identities(options) resp.data[:identities].each do |identity| yield(self[identity]) end resp.data[:next_token] end