Module Values.CreateRouteResponseResponseSource

Creates a RouteResponse for a Route.

Sourcetype nonrec t = {
  1. modelSelectionExpression : SelectionExpression.t option;
    (*

    Represents the model selection expression of a route response. Supported only for WebSocket APIs.

    *)
  2. responseModels : RouteModels.t option;
    (*

    Represents the response models of a route response.

    *)
  3. responseParameters : RouteParameters.t option;
    (*

    Represents the response parameters of a route response.

    *)
  4. routeResponseId : Id.t option;
    (*

    Represents the identifier of a route response.

    *)
  5. routeResponseKey : SelectionKey.t option;
    (*

    Represents the route response key of a route response.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?modelSelectionExpression:??? -> ?responseModels:??? -> ?responseParameters:??? -> ?routeResponseId:??? -> ?routeResponseKey:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of string ] * [> `String of StringWithLengthBetween1And128.t | `Structure of (string * [> `Boolean of bool ]) list ]) list | `String of SelectionExpression.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