<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def StatusActionFactory(version, build=None, base_class=BaseStatusAction):
 # noqa """ A factory for creating a new status action class specific to a service. :param version: The service version :type version: union[str, unicode] :param build: The optional service build identifier :type build: union[str, unicode] :param base_class: The optional base class, to override `BaseStatusAction` as the base class :type base_class: BaseStatusAction :return: A class named `StatusAction`, extending `base_class`, with version and build matching the input parameters :rtype: class """

    return type(
        str('StatusAction'),
        (base_class, ),
        {str('_version'): version, str('_build'): build},
    )