put_routing_rule
async
¶
put_routing_rule(
domain_name: __string,
routing_rule_id: __string,
*,
config_overrides: Optional[AsyncApiGatewayV2ClientConfig] = 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/async_api_gateway_v2.py
5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 | |