Module Values.MessageReviewHandlerSource

Configuration information for optional message review.

Sourcetype nonrec t = {
  1. uri : LambdaArn.t option;
    (*

    Identifier of the message review handler. Currently this must be an ARN of a lambda function.

    *)
  2. fallbackResult : FallbackResult.t option;
    (*

    Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

    *)
}
Sourceval make : ?uri:??? -> ?fallbackResult:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of LambdaArn.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