Values.BounceActionSourceThe action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.
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 caller does not have the permissions to call the SendBounce API.
*)roleArn : IamRoleArn.t;The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.
*)sender : EmailAddress.t;The sender email address of the bounce message.
*)statusCode : StatusCode.t;The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).
*)smtpReplyCode : SmtpReplyCode.t;The SMTP reply code for the bounce, as defined by RFC 5321.
*)diagnosticMessage : DiagnosticMessage.t;The diagnostic message included in the Diagnostic-Code header of the bounce.
*)message : BounceMessage.t option;The human-readable text to include in the bounce message.
*)}val make :
?actionFailurePolicy:??? ->
?message:??? ->
roleArn:IamRoleArn.t ->
sender:EmailAddress.t ->
statusCode:StatusCode.t ->
smtpReplyCode:SmtpReplyCode.t ->
diagnosticMessage:DiagnosticMessage.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of IamRoleArn.t ]) list ]