Assistant: 
User: 
    Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions.
    Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. 
    If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.

    Modules : {
        "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions."
"Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java."
"Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs."
"Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component."
"Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data."
"E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests."
"Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes."
    }

    Code: package teammates.ui.webapi; /** * Regenerates the key for a given instructor in a course. This will also resend the course registration * and feedback session links to the affected instructor, as any previously sent links will no longer work. */ class RegenerateInstructorKeyAction extends AdminOnlyAction { private static final String SUCCESSFUL_REGENERATION = "Instructor's key for this course has been successfully regenerated,"; /** Message indicating that the key regeneration was successful, and corresponding email was sent. */ static final String SUCCESSFUL_REGENERATION_WITH_EMAIL_SENT = SUCCESSFUL_REGENERATION + " and the email has been sent."; private static final String UNSUCCESSFUL_REGENERATION = "Regeneration of the instructor's key was unsuccessful."; /** Message indicating that the key regeneration was successful, but corresponding email could not be sent. */ private static final String SUCCESSFUL_REGENERATION_BUT_EMAIL_FAILED = SUCCESSFUL_REGENERATION + " but the email failed to send."; @Override public JsonResult execute() { String instructorEmailAddress = getNonNullRequestParamValue(Const.ParamsNames.INSTRUCTOR_EMAIL); String courseId = getNonNullRequestParamValue(Const.ParamsNames.COURSE_ID); InstructorAttributes updatedInstructor; try { updatedInstructor = logic.regenerateInstructorRegistrationKey(courseId, instructorEmailAddress); } catch (EntityDoesNotExistException ex) { throw new EntityNotFoundException(ex); } catch (EntityAlreadyExistsException ex) { // No logging here as severe logging is done at the origin of the error return new JsonResult(UNSUCCESSFUL_REGENERATION, HttpStatus.SC_INTERNAL_SERVER_ERROR); } boolean emailSent = sendEmail(updatedInstructor); String statusMessage = emailSent ? SUCCESSFUL_REGENERATION_WITH_EMAIL_SENT : SUCCESSFUL_REGENERATION_BUT_EMAIL_FAILED; return new JsonResult(new RegenerateKeyData(statusMessage, updatedInstructor.getKey())); } /** * Sends the regenerated course join and feedback session links to the instructor. * @return true if the email was sent successfully, and false otherwise. */ private boolean sendEmail(InstructorAttributes instructor) { EmailWrapper email = emailGenerator.generateFeedbackSessionSummaryOfCourse( instructor.getCourseId(), instructor.getEmail(), EmailType.INSTRUCTOR_COURSE_LINKS_REGENERATED); EmailSendingStatus status = emailSender.sendEmail(email); return status.isSuccess(); } }
    
Assistant: