Skip to content

RelayAction

Source code in docs_src/capo_mailmanager/types/relay_action.py
class RelayAction(TypedDict, closed=True):
    action_failure_policy: NotRequired[
        "capo_mailmanager.types.action_failure_policy.ActionFailurePolicy"
    ]
    """<p>A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.</p>"""
    relay: "capo_mailmanager.types.id_or_arn.IdOrArn"
    """<p>The identifier of the relay resource to be used when relaying an email.</p>"""
    mail_from: NotRequired["capo_mailmanager.types.mail_from.MailFrom"]
    """<p>This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.</p>"""

action_failure_policy instance-attribute

action_failure_policy: NotRequired[ActionFailurePolicy]

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.

mail_from instance-attribute

mail_from: NotRequired[MailFrom]

This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.

relay instance-attribute

relay: IdOrArn

The identifier of the relay resource to be used when relaying an email.