def translate_condition_key_data_types(condition_str):
    """
    The docs use different type names, so this standardizes them.
    Example: The condition secretsmanager:RecoveryWindowInDays is listed as using a "Long"
    So return "Number"
    """
    if condition_str.lower() in ['arn', 'arn']:
        return 'Arn'
    elif condition_str.lower() in ['bool', 'boolean']:
        return 'Bool'
    elif condition_str.lower() in ['date']:
        return 'Date'
    elif condition_str.lower() in ['long', 'numeric']:
        return 'Number'
    elif condition_str.lower() in ['string', 'string', 'arrayofstring']:
        return 'String'
    elif condition_str.lower() in ['ip']:
        return 'Ip'
    else:
        raise Exception('Unknown data format: {}'.format(str))
