Skip to content

ReceiptAction

Source code in docs_src/capo_ses/types/receipt_action.py
class ReceiptAction(TypedDict, closed=True):
    s3_action: NotRequired["capo_ses.types.s3_action.S3Action"]
    """<p>Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.</p>"""
    bounce_action: NotRequired["capo_ses.types.bounce_action.BounceAction"]
    """<p>Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).</p>"""
    workmail_action: NotRequired["capo_ses.types.workmail_action.WorkmailAction"]
    """<p>Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.</p>"""
    lambda_action: NotRequired["capo_ses.types.lambda_action.LambdaAction"]
    """<p>Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.</p>"""
    stop_action: NotRequired["capo_ses.types.stop_action.StopAction"]
    """<p>Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.</p>"""
    add_header_action: NotRequired["capo_ses.types.add_header_action.AddHeaderAction"]
    """<p>Adds a header to the received email.</p>"""
    sns_action: NotRequired["capo_ses.types.sns_action.SNSAction"]
    """<p>Publishes the email content within a notification to Amazon SNS.</p>"""
    connect_action: NotRequired["capo_ses.types.connect_action.ConnectAction"]
    """<p>Parses the received message and starts an email contact in Amazon Connect on your behalf.</p>"""

add_header_action instance-attribute

add_header_action: NotRequired[AddHeaderAction]

Adds a header to the received email.

bounce_action instance-attribute

bounce_action: NotRequired[BounceAction]

Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

connect_action instance-attribute

connect_action: NotRequired[ConnectAction]

Parses the received message and starts an email contact in Amazon Connect on your behalf.

lambda_action instance-attribute

lambda_action: NotRequired[LambdaAction]

Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.

s3_action instance-attribute

s3_action: NotRequired[S3Action]

Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

sns_action instance-attribute

sns_action: NotRequired[SNSAction]

Publishes the email content within a notification to Amazon SNS.

stop_action instance-attribute

stop_action: NotRequired[StopAction]

Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

workmail_action instance-attribute

workmail_action: NotRequired[WorkmailAction]

Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.