delete_transit_gateway_route(**kwargs)¶Deletes the specified route from the specified transit gateway route table.
See also: AWS API Documentation
Request Syntax
response = client.delete_transit_gateway_route(
    TransitGatewayRouteTableId='string',
    DestinationCidrBlock='string',
    DryRun=True|False
)
[REQUIRED]
The ID of the transit gateway route table.
[REQUIRED]
The CIDR range for the route. This must match the CIDR for the route exactly.
DryRunOperation . Otherwise, it is UnauthorizedOperation .dict
Response Syntax
{
    'Route': {
        'DestinationCidrBlock': 'string',
        'PrefixListId': 'string',
        'TransitGatewayRouteTableAnnouncementId': 'string',
        'TransitGatewayAttachments': [
            {
                'ResourceId': 'string',
                'TransitGatewayAttachmentId': 'string',
                'ResourceType': 'vpc'|'vpn'|'direct-connect-gateway'|'connect'|'peering'|'tgw-peering'
            },
        ],
        'Type': 'static'|'propagated',
        'State': 'pending'|'active'|'blackhole'|'deleting'|'deleted'
    }
}
Response Structure
(dict) --
Route (dict) --
Information about the route.
DestinationCidrBlock (string) --
The CIDR block used for destination matches.
PrefixListId (string) --
The ID of the prefix list used for destination matches.
TransitGatewayRouteTableAnnouncementId (string) --
The ID of the transit gateway route table announcement.
TransitGatewayAttachments (list) --
The attachments.
(dict) --
Describes a route attachment.
ResourceId (string) --
The ID of the resource.
TransitGatewayAttachmentId (string) --
The ID of the attachment.
ResourceType (string) --
The resource type. Note that the tgw-peering resource type has been deprecated.
Type (string) --
The route type.
State (string) --
The state of the route.