update_route_response
async
¶
update_route_response(
api_id: __string,
route_id: __string,
route_response_id: __string,
*,
config_overrides: Optional[AsyncApiGatewayV2ClientConfig] = 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/async_api_gateway_v2.py
6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 | |