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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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:

  • 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 Source #

Contains the parameters for DisassociateRouteTable.

See: disassociateRouteTable smart constructor.

Instances
Eq DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Data DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Show DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Generic DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rep DisassociateRouteTable :: Type -> Type #

Hashable DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

AWSRequest DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rs DisassociateRouteTable :: Type #

ToHeaders DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

ToPath DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

ToQuery DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

NFData DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Methods

rnf :: DisassociateRouteTable -> () #

type Rep DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

type Rep DisassociateRouteTable = D1 (MetaData "DisassociateRouteTable" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DisassociateRouteTable'" PrefixI True) (S1 (MetaSel (Just "_drtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_drtAssociationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DisassociateRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

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 # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Data DisassociateRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

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 # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Show DisassociateRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Generic DisassociateRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rep DisassociateRouteTableResponse :: Type -> Type #

NFData DisassociateRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

type Rep DisassociateRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

type Rep DisassociateRouteTableResponse = D1 (MetaData "DisassociateRouteTableResponse" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DisassociateRouteTableResponse'" PrefixI False) (U1 :: Type -> Type))