def iam_names(b):
    iam_name_re = compile('^[a-zA-Z0-9_\\.\\+\\=\\@\\-\\,]+$')
    if iam_name_re.match(b):
        return b
    else:
        raise ValueError(('%s is not a valid iam name' % b))
def iam_names(b):
    iam_name_re = compile('^[a-zA-Z0-9_\\.\\+\\=\\@\\-\\,]+$')
    if iam_name_re.match(b):
        return b
    else:
        raise ValueError(('%s is not a valid iam name' % b))