Skip to content

RouteResponse

Source code in docs_src/capo_apigatewayv2/types/route_response.py
class RouteResponse(TypedDict, closed=True):
    model_selection_expression: NotRequired[
        "capo_apigatewayv2.types.selection_expression.SelectionExpression"
    ]
    """<p>Represents the model selection expression of a route response. Supported only for WebSocket APIs.</p>"""
    response_models: NotRequired["capo_apigatewayv2.types.route_models.RouteModels"]
    """<p>Represents the response models of a route response.</p>"""
    response_parameters: NotRequired[
        "capo_apigatewayv2.types.route_parameters.RouteParameters"
    ]
    """<p>Represents the response parameters of a route response.</p>"""
    route_response_id: NotRequired["capo_apigatewayv2.types.id.Id"]
    """<p>Represents the identifier of a route response.</p>"""
    route_response_key: NotRequired[
        "capo_apigatewayv2.types.selection_key.SelectionKey"
    ]
    """<p>Represents the route response key of a route response.</p>"""

model_selection_expression instance-attribute

model_selection_expression: NotRequired[SelectionExpression]

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

response_models instance-attribute

response_models: NotRequired[RouteModels]

Represents the response models of a route response.

response_parameters instance-attribute

response_parameters: NotRequired[RouteParameters]

Represents the response parameters of a route response.

route_response_id instance-attribute

route_response_id: NotRequired[Id]

Represents the identifier of a route response.

route_response_key instance-attribute

route_response_key: NotRequired[SelectionKey]

Represents the route response key of a route response.