# File lib/fog/aws/requests/rds/reboot_db_instance.rb, line 27
        def reboot_db_instance(instance_identifier)
          response = Excon::Response.new
          if server = self.data[:servers][instance_identifier]
            if server["DBInstanceStatus"] != "available"
              raise Fog::AWS::RDS::NotFound.new("DBInstance #{instance_identifier} not available for rebooting")
            else
              server["DBInstanceStatus"] = 'rebooting'
              self.data[:reboot_time] = Time.now
              response.status = 200
              response.body = {
                "ResponseMetadata"=>{ "RequestId"=> Fog::AWS::Mock.request_id },
                "RebootDBInstanceResult" => { "DBInstance" => server }
              }
              response

            end
          else
            raise Fog::AWS::RDS::NotFound.new("DBInstance #{instance_identifier} not found")
          end
        end