EC2.Client.
delete_transit_gateway_route_table
(**kwargs)¶Deletes the specified transit gateway route table. You must disassociate the route table from any transit gateway route tables before you can delete it.
See also: AWS API Documentation
Request Syntax
response = client.delete_transit_gateway_route_table(
TransitGatewayRouteTableId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the transit gateway route table.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'TransitGatewayRouteTable': {
'TransitGatewayRouteTableId': 'string',
'TransitGatewayId': 'string',
'State': 'pending'|'available'|'deleting'|'deleted',
'DefaultAssociationRouteTable': True|False,
'DefaultPropagationRouteTable': True|False,
'CreationTime': datetime(2015, 1, 1),
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
TransitGatewayRouteTable (dict) --
Information about the deleted transit gateway route table.
TransitGatewayRouteTableId (string) --
The ID of the transit gateway route table.
TransitGatewayId (string) --
The ID of the transit gateway.
State (string) --
The state of the transit gateway route table.
DefaultAssociationRouteTable (boolean) --
Indicates whether this is the default association route table for the transit gateway.
DefaultPropagationRouteTable (boolean) --
Indicates whether this is the default propagation route table for the transit gateway.
CreationTime (datetime) --
The creation time.
Tags (list) --
Any tags assigned to the route table.
(dict) --
Describes a tag.
Key (string) --
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:
.
Value (string) --
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.