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.DeleteRouteTable

Contents

Description

Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.

Synopsis

Creating a Request

deleteRouteTable #

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

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

  • drtrDryRun - 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 .
  • drtrRouteTableId - The ID of the route table.

data DeleteRouteTable #

Contains the parameters for DeleteRouteTable.

See: deleteRouteTable smart constructor.

Instances

Eq DeleteRouteTable # 
Data DeleteRouteTable # 

Methods

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

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

toConstr :: DeleteRouteTable -> Constr #

dataTypeOf :: DeleteRouteTable -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRouteTable # 
Show DeleteRouteTable # 
Generic DeleteRouteTable # 
Hashable DeleteRouteTable # 
NFData DeleteRouteTable # 

Methods

rnf :: DeleteRouteTable -> () #

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

Request Lenses

drtrDryRun :: Lens' DeleteRouteTable (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 .

drtrRouteTableId :: Lens' DeleteRouteTable Text #

The ID of the route table.

Destructuring the Response

deleteRouteTableResponse :: DeleteRouteTableResponse #

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

data DeleteRouteTableResponse #

See: deleteRouteTableResponse smart constructor.

Instances

Eq DeleteRouteTableResponse # 
Data DeleteRouteTableResponse # 

Methods

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

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

toConstr :: DeleteRouteTableResponse -> Constr #

dataTypeOf :: DeleteRouteTableResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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