put_routing_rule
¶
put_routing_rule(
domain_name: __string,
routing_rule_id: __string,
*,
config_overrides: Optional[ApiGatewayV2ClientConfig] = None,
actions: Optional[__listOfRoutingRuleAction] = None,
conditions: Optional[__listOfRoutingRuleCondition] = None,
domain_name_id: Optional[__string] = None,
priority: Optional[RoutingRulePriority] = None,
) -> PutRoutingRuleResponse
Updates a routing rule.
Parameters:
-
actions(Optional[__listOfRoutingRuleAction], default:None) –The routing rule action.
-
conditions(Optional[__listOfRoutingRuleCondition], default:None) –The routing rule condition.
-
domain_name(__string) –The domain name.
-
domain_name_id(Optional[__string], default:None) –The domain name ID.
-
priority(Optional[RoutingRulePriority], default:None) –The routing rule priority.
-
routing_rule_id(__string) –The routing rule ID.
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
5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 | |