Module Values.BounceActionSource

When included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). For information about sending a bounce message in response to a received email, see the Amazon SES Developer Guide.

Sourcetype nonrec t = {
  1. topicArn : AmazonResourceName.t option;
    (*

    The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

    *)
  2. smtpReplyCode : BounceSmtpReplyCode.t;
    (*

    The SMTP reply code, as defined by RFC 5321.

    *)
  3. statusCode : BounceStatusCode.t option;
    (*

    The SMTP enhanced status code, as defined by RFC 3463.

    *)
  4. message : BounceMessage.t;
    (*

    Human-readable text to include in the bounce message.

    *)
  5. sender : Address.t;
    (*

    The email address of the sender of the bounced email. This is the address from which the bounce message is sent.

    *)
}
Sourceval context_ : string
Sourceval make : ?topicArn:??? -> ?statusCode:??? -> smtpReplyCode:BounceSmtpReplyCode.t -> message:BounceMessage.t -> sender:Address.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AmazonResourceName.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