Module Values.FixedResponseActionConfigSource

Information about an action that returns a custom HTTP response.

Sourcetype nonrec t = {
  1. messageBody : FixedResponseActionMessage.t option;
    (*

    The message.

    *)
  2. statusCode : FixedResponseActionStatusCode.t;
    (*

    The HTTP response code (2XX, 4XX, or 5XX).

    *)
  3. contentType : FixedResponseActionContentType.t option;
    (*

    The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json

    *)
}
Sourceval context_ : string
Sourceval make : ?messageBody:??? -> ?contentType:??? -> statusCode:FixedResponseActionStatusCode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FixedResponseActionMessage.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