def clean_intent_name(intent: str) -> str:
    """Clean intent to make it fit the right length and character set.

    Args:
        intent: The intent name string.

    Returns:
        The intent that meets Lex specifications.
    """ 
    new_intent = intent[:86]  # max 100 characters but must account for prepended
                                   # lex-us-east-1-
    return new_intent