Module Values.CreateRequestValidatorRequestSource

Creates a RequestValidator of a given RestApi.

Sourcetype nonrec t = {
  1. restApiId : String_.t;
    (*

    The string identifier of the associated RestApi.

    *)
  2. name : String_.t option;
    (*

    The name of the to-be-created RequestValidator.

    *)
  3. validateRequestBody : Boolean.t option;
    (*

    A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

    *)
  4. validateRequestParameters : Boolean.t option;
    (*

    A Boolean flag to indicate whether to validate request parameters, true, or not false.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?validateRequestBody:??? -> ?validateRequestParameters:??? -> restApiId:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.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