SESV2Client.create_custom_verification_email_template
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import SESV2Client
from collections.abc import Sequence
from rboto_sesv2.types import (
CreateCustomVerificationEmailTemplateOutput,
Tag,
)
Signature
async def create_custom_verification_email_template(
*,
template_name: str,
from_email_address: str,
template_subject: str,
template_content: str,
success_redirection_url: str,
failure_redirection_url: str,
tags: Sequence[Tag] | None = None,
) -> CreateCustomVerificationEmailTemplateOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
template_name |
Yes | The name of the custom verification email template. |
from_email_address |
Yes | The email address that the custom verification email is sent from. |
template_subject |
Yes | The subject line of the custom verification email. |
template_content |
Yes | 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 |
Yes | The URL that the recipient of the verification email is sent to if his or her address is successfully verified. |
failure_redirection_url |
Yes | The URL that the recipient of the verification email is sent to if his or her address is not successfully verified. |
tags |
No | An array of objects that define the tags (keys and values) to associate with the custom verification email template. |
Output
CreateCustomVerificationEmailTemplateOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
CreateCustomVerificationEmailTemplateOutput, Tag
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_sesv2.exceptions:
AlreadyExistsError, BadRequestError, LimitExceededError, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.