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

Copyright(c) 2013-2016 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 .

Synopsis

Creating a Request

disassociateRouteTable #

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:

  • drtDryRun - 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 - The association ID representing the current association between the route table and subnet.

data DisassociateRouteTable #

Contains the parameters for DisassociateRouteTable.

See: disassociateRouteTable smart constructor.

Instances

Eq DisassociateRouteTable # 
Data DisassociateRouteTable # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisassociateRouteTable -> c DisassociateRouteTable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisassociateRouteTable #

toConstr :: DisassociateRouteTable -> Constr #

dataTypeOf :: DisassociateRouteTable -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DisassociateRouteTable) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisassociateRouteTable) #

gmapT :: (forall b. Data b => b -> b) -> DisassociateRouteTable -> DisassociateRouteTable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisassociateRouteTable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisassociateRouteTable -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisassociateRouteTable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisassociateRouteTable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisassociateRouteTable -> m DisassociateRouteTable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisassociateRouteTable -> m DisassociateRouteTable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisassociateRouteTable -> m DisassociateRouteTable #

Read DisassociateRouteTable # 
Show DisassociateRouteTable # 
Generic DisassociateRouteTable # 
Hashable DisassociateRouteTable # 
NFData DisassociateRouteTable # 

Methods

rnf :: DisassociateRouteTable -> () #

AWSRequest DisassociateRouteTable # 
ToQuery DisassociateRouteTable # 
ToPath DisassociateRouteTable # 
ToHeaders DisassociateRouteTable # 
type Rep DisassociateRouteTable # 
type Rep DisassociateRouteTable = D1 (MetaData "DisassociateRouteTable" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DisassociateRouteTable'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_drtAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DisassociateRouteTable # 

Request Lenses

drtDryRun :: Lens' DisassociateRouteTable (Maybe Bool) #

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 #

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

Destructuring the Response

disassociateRouteTableResponse :: DisassociateRouteTableResponse #

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

data DisassociateRouteTableResponse #

See: disassociateRouteTableResponse smart constructor.

Instances

Eq DisassociateRouteTableResponse # 
Data DisassociateRouteTableResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisassociateRouteTableResponse -> c DisassociateRouteTableResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisassociateRouteTableResponse #

toConstr :: DisassociateRouteTableResponse -> Constr #

dataTypeOf :: DisassociateRouteTableResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DisassociateRouteTableResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisassociateRouteTableResponse) #

gmapT :: (forall b. Data b => b -> b) -> DisassociateRouteTableResponse -> DisassociateRouteTableResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisassociateRouteTableResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisassociateRouteTableResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisassociateRouteTableResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisassociateRouteTableResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisassociateRouteTableResponse -> m DisassociateRouteTableResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisassociateRouteTableResponse -> m DisassociateRouteTableResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisassociateRouteTableResponse -> m DisassociateRouteTableResponse #

Read DisassociateRouteTableResponse # 
Show DisassociateRouteTableResponse # 
Generic DisassociateRouteTableResponse # 
NFData DisassociateRouteTableResponse # 
type Rep DisassociateRouteTableResponse # 
type Rep DisassociateRouteTableResponse = D1 (MetaData "DisassociateRouteTableResponse" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DisassociateRouteTableResponse'" PrefixI False) U1)