# File lib/aws/ec2/resource.rb, line 88
      def update_resource attribute, value
        options = {}
        if value.is_a?(Array)
          options[attribute.set_as] = value
        else
          options[attribute.set_as] = { :value => value }
        end
        options["#{inflected_name}_id""#{inflected_name}_id"] = __resource_id__
        method_name = "modify_#{inflected_name}_attribute"
        client.send(method_name, options)
      end