def METHOD_NAME(
    self,
    name: str,
    status: str = REGISTERED,
    description: str | None = None,
    retention_period: int = 30,
    *args,
    **kwargs,
) -> Domain:
    """Creates a new remote domain and returns the Domain model instance
    :param      name: Name of the domain to register (unique)
    :param      retention_period: Domain's workflow executions records retention in days
    :param      status: Specifies the registration status of the
                        workflow types to list. Valid values are:
                        * `` simpleflow.swf.mapper.constants.REGISTERED``
                        * `` simpleflow.swf.mapper.constants.DEPRECATED``
    :param      description: Textual description of the domain
    """
    domain = Domain(
        name,
        status=status,
        description=description,
        retention_period=retention_period,
    )
    domain.save()
    return domain