# File lib/fog/aws/requests/lambda/get_event_source_mapping.rb, line 32
        def get_event_source_mapping(params={})
          mapping_id = params.delete('UUID')

          unless mapping = self.data[:event_source_mappings][mapping_id]
            message  = 'ResourceNotFoundException => '
            message << 'The resource you requested does not exist.'
            raise Fog::AWS::Lambda::Error, message
          end

          if mapping['State'].eql?('Creating')
            mapping['LastProcessingResult'] = 'OK'
            mapping['State'] = 'Enabled'
          end

          response = Excon::Response.new
          response.status = 200
          response.body = mapping
          response
        end