#[non_exhaustive]pub struct VerificationMessageTemplateType {
pub sms_message: Option<String>,
pub email_message: Option<String>,
pub email_subject: Option<String>,
pub email_message_by_link: Option<String>,
pub email_subject_by_link: Option<String>,
pub default_email_option: Option<DefaultEmailOptionType>,
}Expand description
The template for verification messages.
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.sms_message: Option<String>The template for SMS messages that Amazon Cognito sends to your users.
email_message: Option<String>The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
email_subject: Option<String>The subject line for the email message template. You can set an EmailSubject template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
email_message_by_link: Option<String>The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
email_subject_by_link: Option<String>The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
default_email_option: Option<DefaultEmailOptionType>The default email option.
Implementations§
source§impl VerificationMessageTemplateType
impl VerificationMessageTemplateType
sourcepub fn sms_message(&self) -> Option<&str>
pub fn sms_message(&self) -> Option<&str>
The template for SMS messages that Amazon Cognito sends to your users.
sourcepub fn email_message(&self) -> Option<&str>
pub fn email_message(&self) -> Option<&str>
The template for email messages that Amazon Cognito sends to your users. You can set an EmailMessage template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_subject(&self) -> Option<&str>
pub fn email_subject(&self) -> Option<&str>
The subject line for the email message template. You can set an EmailSubject template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_message_by_link(&self) -> Option<&str>
pub fn email_message_by_link(&self) -> Option<&str>
The email message template for sending a confirmation link to the user. You can set an EmailMessageByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn email_subject_by_link(&self) -> Option<&str>
pub fn email_subject_by_link(&self) -> Option<&str>
The subject line for the email message template for sending a confirmation link to the user. You can set an EmailSubjectByLink template only if the value of EmailSendingAccount is DEVELOPER. When your EmailSendingAccount is DEVELOPER, your user pool sends email messages with your own Amazon SES configuration.
sourcepub fn default_email_option(&self) -> Option<&DefaultEmailOptionType>
pub fn default_email_option(&self) -> Option<&DefaultEmailOptionType>
The default email option.
source§impl VerificationMessageTemplateType
impl VerificationMessageTemplateType
sourcepub fn builder() -> VerificationMessageTemplateTypeBuilder
pub fn builder() -> VerificationMessageTemplateTypeBuilder
Creates a new builder-style object to manufacture VerificationMessageTemplateType.
Trait Implementations§
source§impl Clone for VerificationMessageTemplateType
impl Clone for VerificationMessageTemplateType
source§fn clone(&self) -> VerificationMessageTemplateType
fn clone(&self) -> VerificationMessageTemplateType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for VerificationMessageTemplateType
impl PartialEq for VerificationMessageTemplateType
source§fn eq(&self, other: &VerificationMessageTemplateType) -> bool
fn eq(&self, other: &VerificationMessageTemplateType) -> bool
self and other values to be equal, and is used
by ==.