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

Contents

Description

Deletes the specified route from the specified route table.

Synopsis

Creating a Request

deleteRoute #

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:

  • drDestinationIPv6CidrBlock - The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
  • drDryRun - 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 .
  • drDestinationCidrBlock - The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
  • drRouteTableId - The ID of the route table.

data DeleteRoute #

Contains the parameters for DeleteRoute.

See: deleteRoute smart constructor.

Instances

Eq DeleteRoute # 
Data DeleteRoute # 

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 # 
Show DeleteRoute # 
Generic DeleteRoute # 

Associated Types

type Rep DeleteRoute :: * -> * #

Hashable DeleteRoute # 
NFData DeleteRoute # 

Methods

rnf :: DeleteRoute -> () #

AWSRequest DeleteRoute # 
ToQuery DeleteRoute # 
ToPath DeleteRoute # 
ToHeaders DeleteRoute # 

Methods

toHeaders :: DeleteRoute -> [Header] #

type Rep DeleteRoute # 
type Rep DeleteRoute = D1 (MetaData "DeleteRoute" "Network.AWS.EC2.DeleteRoute" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DeleteRoute'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_drDestinationIPv6CidrBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_drDestinationCidrBlock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drRouteTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DeleteRoute # 

Request Lenses

drDestinationIPv6CidrBlock :: Lens' DeleteRoute (Maybe Text) #

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

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

drDestinationCidrBlock :: Lens' DeleteRoute (Maybe Text) #

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

drRouteTableId :: Lens' DeleteRoute Text #

The ID of the route table.

Destructuring the Response

deleteRouteResponse :: DeleteRouteResponse #

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

data DeleteRouteResponse #

See: deleteRouteResponse smart constructor.

Instances

Eq DeleteRouteResponse # 
Data DeleteRouteResponse # 

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 # 
Show DeleteRouteResponse # 
Generic DeleteRouteResponse # 
NFData DeleteRouteResponse # 

Methods

rnf :: DeleteRouteResponse -> () #

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