# File lib/aws/record/base.rb, line 320
      def attributes
        attributes = IndifferentHash.new
        attributes['id'] = id if persisted?
        self.class.attributes.keys.inject(attributes) do |hash,attr_name|
          hash[attr_name] = __send__(attr_name)
          hash
        end
      end