Module Values.StopActionSource

When included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS). For information about setting a stop action in a receipt rule, see the Amazon SES Developer Guide.

Sourcetype nonrec t = {
  1. scope : StopScope.t;
    (*

    The scope of the StopAction. The only acceptable value is RuleSet.

    *)
  2. topicArn : AmazonResourceName.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?topicArn:??? -> scope:StopScope.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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