Module Values.BounceActionSource

The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. roleArn : IamRoleArn.t;
    (*

    The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

    *)
  3. sender : EmailAddress.t;
    (*

    The sender email address of the bounce message.

    *)
  4. statusCode : StatusCode.t;
    (*

    The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).

    *)
  5. smtpReplyCode : SmtpReplyCode.t;
    (*

    The SMTP reply code for the bounce, as defined by RFC 5321.

    *)
  6. diagnosticMessage : DiagnosticMessage.t;
    (*

    The diagnostic message included in the Diagnostic-Code header of the bounce.

    *)
  7. message : BounceMessage.t option;
    (*

    The human-readable text to include in the bounce message.

    *)
}
Sourceval context_ : string
Sourceval make : ?actionFailurePolicy:??? -> ?message:??? -> roleArn:IamRoleArn.t -> sender:EmailAddress.t -> statusCode:StatusCode.t -> smtpReplyCode:SmtpReplyCode.t -> diagnosticMessage:DiagnosticMessage.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of IamRoleArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t