delete_routing_rule
async
¶
delete_routing_rule(
domain_name: __string,
routing_rule_id: __string,
*,
config_overrides: Optional[AsyncApiGatewayV2ClientConfig] = None,
domain_name_id: Optional[__string] = None,
) -> None
Deletes a routing rule.
Parameters:
-
domain_name(__string) –The domain name.
-
domain_name_id(Optional[__string], default:None) –The domain name ID.
-
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.
-
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.