Skip to content

SESV2Client.create_email_identity

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity. When you verify an email...

Install and imports

python -m pip install "rboto[sesv2]==0.4.0"
from rboto import SESV2Client
from collections.abc import Sequence
from rboto_sesv2.types import (
    CreateEmailIdentityOutput,
    DkimSigningAttributes,
    Tag,
)

Signature

async def create_email_identity(
    *,
    email_identity: str,
    tags: Sequence[Tag] | None = None,
    dkim_signing_attributes: DkimSigningAttributes | None = None,
    configuration_set_name: str | None = None,
) -> CreateEmailIdentityOutput: ...

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)
email_identity Yes The email address or domain to verify.
tags No An array of objects that define the tags (keys and values) to associate with the email identity.
dkim_signing_attributes No If your request includes this object, Amazon SES configures the identity to use Bring Your Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for Easy DKIM . You can only specify this object if the email identity is a domain, as opposed to an address.
configuration_set_name No The configuration set to use by default when sending from this identity. Note that any configuration set defined in the email sending request takes precedence.

Output

CreateEmailIdentityOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
identity_type IdentityTypeOutput | None Always present IdentityTypeOutput
verified_for_sending_status bool Always present —
dkim_attributes DkimAttributesOutput | None Always present DkimAttributesOutput

| 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.

CreateEmailIdentityOutput, DkimSigningAttributes, 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, ConcurrentModificationError, LimitExceededError, NotFoundError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model