Values.RuleActionSourceThe action for a rule to take. Only one of the contained actions can be set.
type nonrec t = {drop : DropAction.t option;This action terminates the evaluation of rules in the rule set.
*)relay : RelayAction.t option;This action relays the email to another SMTP server.
*)archive : ArchiveAction.t option;This action archives the email. This can be used to deliver an email to an archive.
*)writeToS3 : S3Action.t option;This action writes the MIME content of the email to an S3 bucket.
*)send : SendAction.t option;This action sends the email to the internet.
*)addHeader : AddHeaderAction.t option;This action adds a header. This can be used to add arbitrary email headers.
*)replaceRecipient : ReplaceRecipientAction.t option;The action replaces certain or all recipients with a different set of recipients.
*)deliverToMailbox : DeliverToMailboxAction.t option;This action delivers an email to a WorkMail mailbox.
*)deliverToQBusiness : DeliverToQBusinessAction.t option;This action delivers an email to an Amazon Q Business application for ingestion into its knowledge base.
*)publishToSns : SnsAction.t option;This action publishes the email content to an Amazon SNS topic.
*)bounce : BounceAction.t option;This action sends a bounce response for the email.
*)invokeLambda : InvokeLambdaAction.t option;This action invokes an Amazon Web Services Lambda function to process the email.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Integer of LambdaRetryTimeMinutes.t
| `List of [> `String of EmailAddress.t ] list
| `String of IdOrArn.t ])
list ])
list ]