amazonka-ec2-1.4.2: 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.DeleteRoute

Contents

Description

Deletes the specified route from the specified route table.

Synopsis

Creating a Request

deleteRoute Source #

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

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

data DeleteRoute Source #

Contains the parameters for DeleteRoute.

See: deleteRoute smart constructor.

Instances

Eq DeleteRoute Source # 
Data DeleteRoute Source # 

Methods

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

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

toConstr :: DeleteRoute -> Constr #

dataTypeOf :: DeleteRoute -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRoute Source # 
Show DeleteRoute Source # 
Generic DeleteRoute Source # 

Associated Types

type Rep DeleteRoute :: * -> * #

Hashable DeleteRoute Source # 
NFData DeleteRoute Source # 

Methods

rnf :: DeleteRoute -> () #

AWSRequest DeleteRoute Source # 
ToPath DeleteRoute Source # 
ToHeaders DeleteRoute Source # 

Methods

toHeaders :: DeleteRoute -> [Header] #

ToQuery DeleteRoute Source # 
type Rep DeleteRoute Source # 
type Rep DeleteRoute = D1 (MetaData "DeleteRoute" "Network.AWS.EC2.DeleteRoute" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DeleteRoute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_drRouteTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_drDestinationCIdRBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DeleteRoute Source # 

Request Lenses

drDryRun :: Lens' DeleteRoute (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.

drRouteTableId :: Lens' DeleteRoute Text Source #

The ID of the route table.

drDestinationCIdRBlock :: Lens' DeleteRoute Text Source #

The CIDR range for the route. The value you specify must match the CIDR for the route exactly.

Destructuring the Response

deleteRouteResponse :: DeleteRouteResponse Source #

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

data DeleteRouteResponse Source #

See: deleteRouteResponse smart constructor.

Instances

Eq DeleteRouteResponse Source # 
Data DeleteRouteResponse Source # 

Methods

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

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

toConstr :: DeleteRouteResponse -> Constr #

dataTypeOf :: DeleteRouteResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRouteResponse Source # 
Show DeleteRouteResponse Source # 
Generic DeleteRouteResponse Source # 
NFData DeleteRouteResponse Source # 

Methods

rnf :: DeleteRouteResponse -> () #

type Rep DeleteRouteResponse Source # 
type Rep DeleteRouteResponse = D1 (MetaData "DeleteRouteResponse" "Network.AWS.EC2.DeleteRoute" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DeleteRouteResponse'" PrefixI False) U1)