# File lib/aws/core/resource.rb, line 123
      def attributes_from_response resp
  
        attributes = {}
  
        self.class.attribute_providers_for(resp.request_type).each do |provider|
          attributes.merge!(provider.attributes_from_response(self, resp))
        end
  
        # cache static attributes
        attributes.each do |attr_name,value|
          if self.class.attributes[attr_name].static?
            static_attributes[attr_name] = value
          end
        end
  
        attributes.empty? ? nil : attributes
  
      end