update_custom_verification_email_template
¶
update_custom_verification_email_template(
template_name: TemplateName,
*,
config_overrides: Optional[SESClientConfig] = None,
from_email_address: Optional[FromAddress] = None,
template_subject: Optional[Subject] = None,
template_content: Optional[TemplateContent] = None,
success_redirection_url: Optional[SuccessRedirectionURL] = None,
failure_redirection_url: Optional[FailureRedirectionURL] = None,
) -> None
Updates an existing 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(TemplateName) –The name of the custom verification email template to update.
-
from_email_address(Optional[FromAddress], default:None) –The email address that the custom verification email is sent from.
-
template_subject(Optional[Subject], default:None) –The subject line of the custom verification email.
-
template_content(Optional[TemplateContent], default:None) –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.
-
success_redirection_url(Optional[SuccessRedirectionURL], default:None) –The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
-
failure_redirection_url(Optional[FailureRedirectionURL], default:None) –The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
Raises:
-
CustomVerificationEmailInvalidContentException–Indicates that custom verification email template provided content is invalid.
-
CustomVerificationEmailTemplateDoesNotExistException–Indicates that a custom verification email template with the name you specified does not exist.
-
FromEmailAddressNotVerifiedException–Indicates that the sender address specified for a custom verification email is not verified, and is therefore not eligible to send the custom verification email.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ses/_services/ses.py
3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 | |