AWSSESReceiptAction

Objective-C

@interface AWSSESReceiptAction

Swift

class AWSSESReceiptAction

An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

  • Adds a header to the received email.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESAddHeaderAction *_Nullable addHeaderAction;

    Swift

    var addHeaderAction: AWSSESAddHeaderAction? { get set }
  • Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESBounceAction *_Nullable bounceAction;

    Swift

    var bounceAction: AWSSESBounceAction? { get set }
  • Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESLambdaAction *_Nullable lambdaAction;

    Swift

    var lambdaAction: AWSSESLambdaAction? { get set }
  • Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESS3Action *_Nullable s3Action;

    Swift

    var s3Action: AWSSESS3Action? { get set }
  • Publishes the email content within a notification to Amazon SNS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESSNSAction *_Nullable SNSAction;

    Swift

    var snsAction: AWSSESSNSAction? { get set }
  • Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESStopAction *_Nullable stopAction;

    Swift

    var stopAction: AWSSESStopAction? { get set }
  • Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSSESWorkmailAction *_Nullable workmailAction;

    Swift

    var workmailAction: AWSSESWorkmailAction? { get set }