create_custom_verification_email_template
async
¶
create_custom_verification_email_template(
template_name: EmailTemplateName,
from_email_address: EmailAddress,
template_subject: EmailTemplateSubject,
template_content: TemplateContent,
success_redirection_url: SuccessRedirectionURL,
failure_redirection_url: FailureRedirectionURL,
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = None,
tags: Optional[TagList] = None,
) -> CreateCustomVerificationEmailTemplateResponse
Creates a new custom verification email template.
For more information about custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Parameters:
-
template_name(EmailTemplateName) –The name of the custom verification email template.
-
from_email_address(EmailAddress) –The email address that the custom verification email is sent from.
-
template_subject(EmailTemplateSubject) –The subject line of the custom verification email.
-
template_content(TemplateContent) –The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see Custom verification email frequently asked questions in the Amazon SES Developer Guide.
-
tags(Optional[TagList], default:None) –An array of objects that define the tags (keys and values) to associate with the custom verification email template.
-
success_redirection_url(SuccessRedirectionURL) –The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
-
failure_redirection_url(FailureRedirectionURL) –The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
Raises:
-
AlreadyExistsException–The resource specified in your request already exists.
-
BadRequestException–The input you provided is invalid.
-
LimitExceededException–There are too many instances of the specified resource type.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.