Module Values.PutGatewayResponseRequestSource

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

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

    The string identifier of the associated RestApi.

    *)
  2. responseType : GatewayResponseType.t;
    (*

    The response type of the associated GatewayResponse

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

    The HTTP status code of the GatewayResponse.

    *)
  4. responseParameters : MapOfStringToString.t option;
    (*

    Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

    *)
  5. responseTemplates : MapOfStringToString.t option;
    (*

    Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

    *)
}
Sourceval context_ : string
Sourceval make : ?statusCode:??? -> ?responseParameters:??? -> ?responseTemplates:??? -> restApiId:String_.t -> responseType:GatewayResponseType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `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