route_response
Gets an individual route_response
resource
Overview
Name | route_response |
Type | Resource |
Description | route_response |
Id | awscc.apigatewayv2.route_response |
Fields
Name | Datatype | Description |
---|---|---|
route_response_key | string | The route response key. |
response_parameters | undefined | The route response parameters. |
route_id | string | The route ID. |
model_selection_expression | string | The model selection expression for the route response. Supported only for WebSocket APIs. |
api_id | string | The API identifier. |
response_models | object | The response models for the route response. |
route_response_id | string | |
region | string | AWS 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