Creates a Route for an API.
See https://www.paws-r-sdk.com/docs/apigatewayv2_create_route/ for full documentation.
apigatewayv2_create_route(
ApiId,
ApiKeyRequired = NULL,
AuthorizationScopes = NULL,
AuthorizationType = NULL,
AuthorizerId = NULL,
ModelSelectionExpression = NULL,
OperationName = NULL,
RequestModels = NULL,
RequestParameters = NULL,
RouteKey,
RouteResponseSelectionExpression = NULL,
Target = NULL
)
[required] The API identifier.
Specifies whether an API key is required for the route. Supported only for WebSocket APIs.
The authorization scopes supported by this route.
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.
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.
The model selection expression for the route. Supported only for WebSocket APIs.
The operation name for the route.
The request models for the route. Supported only for WebSocket APIs.
The request parameters for the route. Supported only for WebSocket APIs.
[required] The route key for the route.
The route response selection expression for the route. Supported only for WebSocket APIs.
The target for the route.