replace_transit_gateway_route
¶
replace_transit_gateway_route(
*,
config_overrides: Optional[EC2ClientConfig] = None,
destination_cidr_block: Optional[String] = None,
transit_gateway_route_table_id: Optional[TransitGatewayRouteTableId] = None,
transit_gateway_attachment_id: Optional[TransitGatewayAttachmentId] = None,
blackhole: Optional[Boolean] = None,
dry_run: Optional[Boolean] = None,
) -> ReplaceTransitGatewayRouteResult
Replaces the specified route in the specified transit gateway route table.
Parameters:
-
destination_cidr_block(Optional[String], default:None) –The CIDR range used for the destination match. Routing decisions are based on the most specific match.
-
transit_gateway_route_table_id(Optional[TransitGatewayRouteTableId], default:None) –The ID of the route table.
-
transit_gateway_attachment_id(Optional[TransitGatewayAttachmentId], default:None) –The ID of the attachment.
-
blackhole(Optional[Boolean], default:None) –Indicates whether traffic matching this route is to be dropped.
-
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
57328 57329 57330 57331 57332 57333 57334 57335 57336 57337 57338 57339 57340 57341 57342 57343 57344 57345 57346 57347 57348 57349 57350 57351 57352 57353 57354 57355 57356 57357 57358 57359 57360 57361 57362 57363 57364 57365 57366 57367 57368 57369 57370 57371 57372 57373 57374 57375 57376 57377 57378 57379 57380 57381 57382 57383 57384 57385 57386 57387 57388 57389 57390 | |