Values.DeliverToMailboxActionSourceThis action to delivers an email to a mailbox.
type nonrec t = {actionFailurePolicy : ActionFailurePolicy.t option;A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the mailbox ARN is no longer valid.
*)mailboxArn : NameOrArn.t;The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
*)roleArn : IamRoleArn.t;The Amazon Resource Name (ARN) of an IAM role to use to execute this action. The role must have access to the workmail:DeliverToMailbox API.
*)}val make :
?actionFailurePolicy:??? ->
mailboxArn:NameOrArn.t ->
roleArn:IamRoleArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of NameOrArn.t ]) list ]