# File lib/aws/core/resource.rb, line 389
        def attributes_from_response_object resp_obj

          @provides.inject({}) do |attributes,(attr_name,options)|

            attr = @klass.attributes[attr_name]

            methods = [options[:from] || attr.from].flatten

            v = resp_obj
            methods.each do |method|
              v = v.key?(method) ? v[method] : v[method.to_s]
              break if v.nil?
            end
            v = v[:value] if v and options[:value_wrapped]
            v = attr.translate_output_value(v)

            attributes.merge(attr_name => v)

          end

        end