# File lib/aws/resource.rb, line 362 def attributes_from_response_object resp_obj attributes = {} @provides.each do |attr_name, options| attr = @klass.attributes[attr_name] method = options[:get_as] || attr.get_as v = resp_obj.respond_to?(method) ? resp_obj.send(method) : nil v = v.value if v and options[:value_wrapped] v = attr.translate_output_value(v) attributes[attr_name] = v end attributes end