    # File lib/fog/aws/models/dns/records.rb, line 23
            def all(options = {})
              requires :zone
              options[:max_items]  ||= max_items
              options[:name]       ||= zone.domain
              options[:type]       ||= type
              options[:identifier] ||= identifier
              options.delete_if {|key, value| value.nil?}

              data = service.list_resource_record_sets(zone.id, options).body
              # NextRecordIdentifier is completely absent instead of nil, so set to nil, or iteration breaks.
              data['NextRecordIdentifier'] = nil unless data.has_key?('NextRecordIdentifier')

              merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType', 'NextRecordIdentifier'].include?(key)})
              # leave out the default, read only records
              data = data['ResourceRecordSets'].reject {|record| ['NS', 'SOA'].include?(record['Type'])}
              load(data)
            end