update_custom_verification_email_template
async
¶
update_custom_verification_email_template(
template_name: TemplateName,
*,
config_overrides: Optional[AsyncSESClientConfig] = 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/async_ses.py
3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 | |