Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_transit_gateway_route_table

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
)
Parameters
  • TransitGatewayRouteTableId (string) --

    [REQUIRED]

    The ID of the transit gateway route table.

  • DryRun (boolean) -- 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 is UnauthorizedOperation .
Return type

dict

Returns

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.