Skip to main content

route_response

Gets an individual route_response resource

Overview

Nameroute_response
TypeResource
Descriptionroute_response
Idawscc.apigatewayv2.route_response

Fields

NameDatatypeDescription
route_response_keystringThe route response key.
response_parametersundefinedThe route response parameters.
route_idstringThe route ID.
model_selection_expressionstringThe model selection expression for the route response. Supported only for WebSocket APIs.
api_idstringThe API identifier.
response_modelsobjectThe response models for the route response.
route_response_idstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
route_response_key,
response_parameters,
route_id,
model_selection_expression,
api_id,
response_models,
route_response_id
FROM awscc.apigatewayv2.route_response
WHERE data__Identifier = '<ApiId>|<RouteId>|<RouteResponseId>';

Permissions

To operate on the route_response resource, the following permissions are required:

Update

apigateway:PATCH,
apigateway:GET,
apigateway:PUT

Read

apigateway:GET

Delete

apigateway:GET,
apigateway:DELETE