Skip to content

SESV2Client.put_email_identity_dkim_signing_attributes

rboto-sesv2==0.4.0 · Service index · Types

Model summary (excerpt): Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following: Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM). Update the key length that should be used for Easy DKIM. Change from using no DKIM authentication to using Easy DKIM. Change from using no DKIM authentication to...

Install and imports

python -m pip install "rboto[sesv2]==0.4.0"
from rboto import SESV2Client
from rboto_sesv2.types import (
    DkimSigningAttributes,
    DkimSigningAttributesOrigin,
    PutEmailIdentityDkimSigningAttributesOutput,
)

Signature

async def put_email_identity_dkim_signing_attributes(
    *,
    email_identity: str,
    signing_attributes_origin: DkimSigningAttributesOrigin,
    signing_attributes: DkimSigningAttributes | None = None,
) -> PutEmailIdentityDkimSigningAttributesOutput: ...

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 identity.
signing_attributes_origin Yes The method to use to configure DKIM for the identity. There are the following possible values: AWS_SES – Configure DKIM for the identity by using Easy DKIM . EXTERNAL – Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM).
signing_attributes No An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM .

Output

PutEmailIdentityDkimSigningAttributesOutput.

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
dkim_status DkimStatusOutput | None Always present DkimStatusOutput
dkim_tokens list[str] | None Always present —
signing_hosted_zone str | None Always present —

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

DkimSigningAttributes, DkimSigningAttributesOrigin, PutEmailIdentityDkimSigningAttributesOutput

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:

BadRequestError, NotFoundError, TooManyRequestsError.

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

Service guide · Pinned model