amazonka-ec2-1.6.0: 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 #

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

Defined in Network.AWS.EC2.DisassociateRouteTable

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

Defined in Network.AWS.EC2.DisassociateRouteTable

Show DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Generic DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rep DisassociateRouteTable :: * -> * #

Hashable DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

AWSRequest DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rs DisassociateRouteTable :: * #

ToHeaders DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

ToPath DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

ToQuery DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

NFData DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Methods

rnf :: DisassociateRouteTable -> () #

type Rep DisassociateRouteTable # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

type Rep DisassociateRouteTable = D1 (MetaData "DisassociateRouteTable" "Network.AWS.EC2.DisassociateRouteTable" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" 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 # 
Instance details

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

Defined in Network.AWS.EC2.DisassociateRouteTable

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

Defined in Network.AWS.EC2.DisassociateRouteTable

Show DisassociateRouteTableResponse # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Generic DisassociateRouteTableResponse # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

Associated Types

type Rep DisassociateRouteTableResponse :: * -> * #

NFData DisassociateRouteTableResponse # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

type Rep DisassociateRouteTableResponse # 
Instance details

Defined in Network.AWS.EC2.DisassociateRouteTable

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