Update Route Response
apigatewayv2_update_route_response | R Documentation |
Updates a RouteResponse¶
Description¶
Updates a RouteResponse.
Usage¶
apigatewayv2_update_route_response(ApiId, ModelSelectionExpression,
ResponseModels, ResponseParameters, RouteId, RouteResponseId,
RouteResponseKey)
Arguments¶
ApiId |
[required] The API identifier. |
ModelSelectionExpression |
The model selection expression for the route response. Supported only for WebSocket APIs. |
ResponseModels |
The response models for the route response. |
ResponseParameters |
The route response parameters. |
RouteId |
[required] The route ID. |
RouteResponseId |
[required] The route response ID. |
RouteResponseKey |
The route response key. |
Value¶
A list with the following syntax:
list(
ModelSelectionExpression = "string",
ResponseModels = list(
"string"
),
ResponseParameters = list(
list(
Required = TRUE|FALSE
)
),
RouteResponseId = "string",
RouteResponseKey = "string"
)
Request syntax¶
svc$update_route_response(
ApiId = "string",
ModelSelectionExpression = "string",
ResponseModels = list(
"string"
),
ResponseParameters = list(
list(
Required = TRUE|FALSE
)
),
RouteId = "string",
RouteResponseId = "string",
RouteResponseKey = "string"
)