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

Defined in Network.AWS.EC2.DeleteRouteTable

Data DeleteRouteTable Source # 
Instance details

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

Defined in Network.AWS.EC2.DeleteRouteTable

Show DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Generic DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Associated Types

type Rep DeleteRouteTable :: Type -> Type #

Hashable DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

AWSRequest DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Associated Types

type Rs DeleteRouteTable :: Type #

ToHeaders DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

ToPath DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

ToQuery DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

NFData DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Methods

rnf :: DeleteRouteTable -> () #

type Rep DeleteRouteTable Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

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

Defined in Network.AWS.EC2.DeleteRouteTable

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

Defined in Network.AWS.EC2.DeleteRouteTable

Data DeleteRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

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

Defined in Network.AWS.EC2.DeleteRouteTable

Show DeleteRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Generic DeleteRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

Associated Types

type Rep DeleteRouteTableResponse :: Type -> Type #

NFData DeleteRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

type Rep DeleteRouteTableResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRouteTable

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