update_route_response
¶
update_route_response(
api_id: __string,
route_id: __string,
route_response_id: __string,
*,
config_overrides: Optional[ApiGatewayV2ClientConfig] = None,
model_selection_expression: Optional[SelectionExpression] = None,
response_models: Optional[RouteModels] = None,
response_parameters: Optional[RouteParameters] = None,
route_response_key: Optional[SelectionKey] = None,
) -> UpdateRouteResponseResponse
Updates a RouteResponse.
Parameters:
-
api_id(__string) –The API identifier.
-
model_selection_expression(Optional[SelectionExpression], default:None) –The model selection expression for the route response. Supported only for WebSocket APIs.
-
response_models(Optional[RouteModels], default:None) –The response models for the route response.
-
response_parameters(Optional[RouteParameters], default:None) –The route response parameters.
-
route_id(__string) –The route ID.
-
route_response_id(__string) –The route response ID.
-
route_response_key(Optional[SelectionKey], default:None) –The route response key.
Raises:
-
BadRequestException–The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
-
NotFoundException–The resource specified in the request was not found. See the message field for more information.
-
TooManyRequestsException–A limit has been exceeded. See the accompanying error message for details.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apigatewayv2/_services/api_gateway_v2.py
6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 | |