import { _S3Action, _UnmarshalledS3Action } from "./_S3Action"; import { _BounceAction, _UnmarshalledBounceAction } from "./_BounceAction"; import { _WorkmailAction, _UnmarshalledWorkmailAction } from "./_WorkmailAction"; import { _LambdaAction, _UnmarshalledLambdaAction } from "./_LambdaAction"; import { _StopAction, _UnmarshalledStopAction } from "./_StopAction"; import { _AddHeaderAction, _UnmarshalledAddHeaderAction } from "./_AddHeaderAction"; import { _SNSAction, _UnmarshalledSNSAction } from "./_SNSAction"; /** *
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.
*/ export interface _ReceiptAction { /** *Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
*/ S3Action?: _S3Action; /** *Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
*/ BounceAction?: _BounceAction; /** *Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
*/ WorkmailAction?: _WorkmailAction; /** *Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
*/ LambdaAction?: _LambdaAction; /** *Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
*/ StopAction?: _StopAction; /** *Adds a header to the received email.
*/ AddHeaderAction?: _AddHeaderAction; /** *Publishes the email content within a notification to Amazon SNS.
*/ SNSAction?: _SNSAction; } export interface _UnmarshalledReceiptAction extends _ReceiptAction { /** *Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
*/ S3Action?: _UnmarshalledS3Action; /** *Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
*/ BounceAction?: _UnmarshalledBounceAction; /** *Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
*/ WorkmailAction?: _UnmarshalledWorkmailAction; /** *Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
*/ LambdaAction?: _UnmarshalledLambdaAction; /** *Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
*/ StopAction?: _UnmarshalledStopAction; /** *Adds a header to the received email.
*/ AddHeaderAction?: _UnmarshalledAddHeaderAction; /** *Publishes the email content within a notification to Amazon SNS.
*/ SNSAction?: _UnmarshalledSNSAction; }