API Gateway Route Response

An API Gateway Route Response in AWS defines how API Gateway responds to a client when a particular route is matched. It specifies the response settings, including status codes, headers, and models, that are returned to the caller. This allows you to customize responses for different outcomes of a route, such as success or error cases, and ensures consistent communication between your API and its consumers.

aws.apigatewayv2_routeresponse

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
model_selection_expressioncorestringRepresents the model selection expression of a route response. Supported only for WebSocket APIs.
response_modelscorehstoreRepresents the response models of a route response.
response_parameterscorestringRepresents the response parameters of a route response.
route_response_idcorestringRepresents the identifier of a route response.
tagscorehstore