SESV2Client.associate_email_identity_certificate
rboto-sesv2==0.4.0 · Service index · Types
Model summary (excerpt): Associates an S/MIME certificate with an email identity. After the certificate is active, Amazon SES API v2 can add an S/MIME signature to messages that you send from the associated address when signing is enabled on the configuration set used to send the message. The certificate is an X.509 certificate that you manage in Certificate Manager (ACM). You identify it by its Amazon Resource Name...
Install and imports
from rboto import SESV2Client
from rboto_sesv2.types import (
AssociateEmailIdentityCertificateOutput,
)
Signature
async def associate_email_identity_certificate(
*,
email_identity: str,
certificate_arn: str,
from_address: str | None = None,
) -> AssociateEmailIdentityCertificateOutput: ...
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, either an email address or a domain, to associate the certificate with. |
certificate_arn |
Yes | The Amazon Resource Name (ARN) of the Certificate Manager (ACM) certificate to associate with the email identity. |
from_address |
No | The email address that the certificate applies to. This value is required when the email identity is a domain, and the address must belong to that domain or one of its subdomains. When the email identity is an email address, this value is optional. If you specify it, it must exactly match the email identity. |
Output
AssociateEmailIdentityCertificateOutput.
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
AssociateEmailIdentityCertificateOutput
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, NotFoundError, TooManyRequestsError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.