Module Values.UpdateRouteRequestSource

Updates a Route.

Sourcetype nonrec t = {
  1. apiId : string;
    (*

    The API identifier.

    *)
  2. apiKeyRequired : bool option;
    (*

    Specifies whether an API key is required for the route. Supported only for WebSocket APIs.

    *)
  3. authorizationScopes : AuthorizationScopes.t option;
    (*

    The authorization scopes supported by this route.

    *)
  4. authorizationType : AuthorizationType.t option;
    (*

    The authorization type for the route. For WebSocket APIs, valid values are NONE for open access, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs, valid values are NONE for open access, JWT for using JSON Web Tokens, AWS_IAM for using AWS IAM permissions, and CUSTOM for using a Lambda authorizer.

    *)
  5. authorizerId : Id.t option;
    (*

    The identifier of the Authorizer resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer.

    *)
  6. modelSelectionExpression : SelectionExpression.t option;
    (*

    The model selection expression for the route. Supported only for WebSocket APIs.

    *)
  7. operationName : StringWithLengthBetween1And64.t option;
    (*

    The operation name for the route.

    *)
  8. requestModels : RouteModels.t option;
    (*

    The request models for the route. Supported only for WebSocket APIs.

    *)
  9. requestParameters : RouteParameters.t option;
    (*

    The request parameters for the route. Supported only for WebSocket APIs.

    *)
  10. routeId : string;
    (*

    The route ID.

    *)
  11. routeKey : SelectionKey.t option;
    (*

    The route key for the route.

    *)
  12. routeResponseSelectionExpression : SelectionExpression.t option;
    (*

    The route response selection expression for the route. Supported only for WebSocket APIs.

    *)
  13. target : StringWithLengthBetween1And128.t option;
    (*

    The target for the route.

    *)
}
Sourceval context_ : string
Sourceval make : ?apiKeyRequired:??? -> ?authorizationScopes:??? -> ?authorizationType:??? -> ?authorizerId:??? -> ?modelSelectionExpression:??? -> ?operationName:??? -> ?requestModels:??? -> ?requestParameters:??? -> ?routeKey:??? -> ?routeResponseSelectionExpression:??? -> ?target:??? -> apiId:string -> routeId:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `String of StringWithLengthBetween1And64.t ] list | `Map of ([> `String of string ] * [> `String of StringWithLengthBetween1And128.t | `Structure of (string * [> `Boolean of bool ]) list ]) list | `String of string ]) 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