# File lib/fog/aws/requests/rds/delete_event_subscription.rb, line 25 def delete_event_subscription(name) response = Excon::Response.new if data = self.data[:event_subscriptions][name] data['Status'] = 'deleting' self.data[:event_subscriptions][name] = data response.status = 200 response.body = { "ResponseMetadata"=>{ "RequestId"=> Fog::AWS::Mock.request_id }, } response else raise Fog::AWS::RDS::NotFound.new("EventSubscriptionNotFound => #{name} not found") end end