def compliance_level(level):
    valid_levels = ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW', 'INFORMATIONAL', 'UNSPECIFIED']
    if (level not in valid_levels):
        raise ValueError(('ApprovedPatchesComplianceLevel must be one of: "%s"' % ', '.join(valid_levels)))
    return level
def compliance_level(level):
    valid_levels = ['CRITICAL', 'HIGH', 'MEDIUM', 'LOW', 'INFORMATIONAL', 'UNSPECIFIED']
    if (level not in valid_levels):
        raise ValueError(('ApprovedPatchesComplianceLevel must be one of: "%s"' % ', '.join(valid_levels)))
    return level