amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteRouteTable

Contents

Description

Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteRouteTable.html

Synopsis

Request

Request constructor

deleteRouteTable Source

DeleteRouteTable constructor.

The fields accessible through corresponding lenses are:

Request lenses

drt1DryRun :: Lens' DeleteRouteTable (Maybe Bool) Source

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.

drt1RouteTableId :: Lens' DeleteRouteTable Text Source

The ID of the route table.

Response

Response constructor