in smdebug_rulesconfig/actions/utils.py [0:0]
def validate_email_address(key, value):
if not isinstance(value, str):
raise ValueError(f"{key} must be a string!")
if not re.match(EMAIL_ADDRESS_REGEX, value):
raise ValueError("Invalid email address provided! Must follow this scheme: username@domain")