amazonka-ec2-1.4.4: 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 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:

data DisassociateRouteTable Source #

Contains the parameters for DisassociateRouteTable.

See: disassociateRouteTable smart constructor.

Instances

Eq DisassociateRouteTable Source # 
Data DisassociateRouteTable Source # 

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 Source # 
Show DisassociateRouteTable Source # 
Generic DisassociateRouteTable Source # 
Hashable DisassociateRouteTable Source # 
NFData DisassociateRouteTable Source # 

Methods

rnf :: DisassociateRouteTable -> () #

AWSRequest DisassociateRouteTable Source # 
ToPath DisassociateRouteTable Source # 
ToHeaders DisassociateRouteTable Source # 
ToQuery DisassociateRouteTable Source # 
type Rep DisassociateRouteTable Source # 
type Rep DisassociateRouteTable = D1 (MetaData "DisassociateRouteTable" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" 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 Source # 

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.

data DisassociateRouteTableResponse Source #

See: disassociateRouteTableResponse smart constructor.

Instances

Eq DisassociateRouteTableResponse Source # 
Data DisassociateRouteTableResponse Source # 

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 Source # 
Show DisassociateRouteTableResponse Source # 
Generic DisassociateRouteTableResponse Source # 
NFData DisassociateRouteTableResponse Source # 
type Rep DisassociateRouteTableResponse Source # 
type Rep DisassociateRouteTableResponse = D1 (MetaData "DisassociateRouteTableResponse" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DisassociateRouteTableResponse'" PrefixI False) U1)