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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DisassociateRouteTable

Contents

Description

Disassociates a subnet from a route table.

After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

See: AWS API Reference for DisassociateRouteTable.

Synopsis

Creating a Request

disassociateRouteTable Source

Creates a value of DisassociateRouteTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

drtDryRun :: Lens' DisassociateRouteTable (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.

drtAssociationId :: Lens' DisassociateRouteTable Text Source

The association ID representing the current association between the route table and subnet.

Destructuring the Response

disassociateRouteTableResponse :: DisassociateRouteTableResponse Source

Creates a value of DisassociateRouteTableResponse with the minimum fields required to make a request.