#[non_exhaustive]pub struct NotifyConfigurationType {
pub from: Option<String>,
pub reply_to: Option<String>,
pub source_arn: String,
pub block_email: Option<NotifyEmailType>,
pub no_action_email: Option<NotifyEmailType>,
pub mfa_email: Option<NotifyEmailType>,
}Expand description
The notify configuration type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.from: Option<String>The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
reply_to: Option<String>The destination to which the receiver of an email should reply to.
source_arn: StringThe Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
block_email: Option<NotifyEmailType>Email template used when a detected risk event is blocked.
no_action_email: Option<NotifyEmailType>The email template used when a detected risk event is allowed.
mfa_email: Option<NotifyEmailType>The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
Implementations§
source§impl NotifyConfigurationType
impl NotifyConfigurationType
sourcepub fn from(&self) -> Option<&str>
pub fn from(&self) -> Option<&str>
The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
sourcepub fn reply_to(&self) -> Option<&str>
pub fn reply_to(&self) -> Option<&str>
The destination to which the receiver of an email should reply to.
sourcepub fn source_arn(&self) -> &str
pub fn source_arn(&self) -> &str
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the From parameter.
sourcepub fn block_email(&self) -> Option<&NotifyEmailType>
pub fn block_email(&self) -> Option<&NotifyEmailType>
Email template used when a detected risk event is blocked.
sourcepub fn no_action_email(&self) -> Option<&NotifyEmailType>
pub fn no_action_email(&self) -> Option<&NotifyEmailType>
The email template used when a detected risk event is allowed.
sourcepub fn mfa_email(&self) -> Option<&NotifyEmailType>
pub fn mfa_email(&self) -> Option<&NotifyEmailType>
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
source§impl NotifyConfigurationType
impl NotifyConfigurationType
sourcepub fn builder() -> NotifyConfigurationTypeBuilder
pub fn builder() -> NotifyConfigurationTypeBuilder
Creates a new builder-style object to manufacture NotifyConfigurationType.
Trait Implementations§
source§impl Clone for NotifyConfigurationType
impl Clone for NotifyConfigurationType
source§fn clone(&self) -> NotifyConfigurationType
fn clone(&self) -> NotifyConfigurationType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for NotifyConfigurationType
impl Debug for NotifyConfigurationType
source§impl PartialEq for NotifyConfigurationType
impl PartialEq for NotifyConfigurationType
source§fn eq(&self, other: &NotifyConfigurationType) -> bool
fn eq(&self, other: &NotifyConfigurationType) -> bool
self and other values to be equal, and is used
by ==.