Values.GatewayResponseSourceA gateway response of a given response type and status code, with optional response parameters and mapping templates.
type nonrec t = {responseType : GatewayResponseType.t option;The response type of the associated GatewayResponse.
*)statusCode : StatusCode.t option;The HTTP status code for this GatewayResponse.
*)responseParameters : MapOfStringToString.t option;Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
*)responseTemplates : MapOfStringToString.t option;Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
*)defaultResponse : Boolean.t option;A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `NotFoundException of NotFoundException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `NotFoundException of NotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `NotFoundException of NotFoundException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option ]