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

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

Contains the parameters for DeleteRouteTable.

See: deleteRouteTable smart constructor.

Instances

Eq DeleteRouteTable Source # 
Data DeleteRouteTable Source # 

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

Methods

rnf :: DeleteRouteTable -> () #

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

Request Lenses

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

drtrRouteTableId :: Lens' DeleteRouteTable Text Source #

The ID of the route table.

Destructuring the Response

deleteRouteTableResponse :: DeleteRouteTableResponse Source #

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

data DeleteRouteTableResponse Source #

See: deleteRouteTableResponse smart constructor.

Instances

Eq DeleteRouteTableResponse Source # 
Data DeleteRouteTableResponse Source # 

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