delete_transit_gateway_route
¶
delete_transit_gateway_route(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_route_table_id: Optional[TransitGatewayRouteTableId] = None,
destination_cidr_block: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DeleteTransitGatewayRouteResult
Deletes the specified route from the specified transit gateway route table.
Parameters:
-
transit_gateway_route_table_id(Optional[TransitGatewayRouteTableId], default:None) –The ID of the transit gateway route table.
-
destination_cidr_block(Optional[String], default:None) –The CIDR range for the route. This must match the CIDR for the route exactly.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 | |