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

  • 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 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 # 
ToHeaders DeleteRoute Source # 

Methods

toHeaders :: DeleteRoute -> [Header] #

ToPath DeleteRoute Source # 
ToQuery DeleteRoute Source # 
type Rep DeleteRoute Source # 
type Rep DeleteRoute = D1 * (MetaData "DeleteRoute" "Network.AWS.EC2.DeleteRoute" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" 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 Source # 

Request Lenses

drDestinationIPv6CidrBlock :: Lens' DeleteRoute (Maybe Text) Source #

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

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 .

drDestinationCidrBlock :: Lens' DeleteRoute (Maybe Text) Source #

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

drRouteTableId :: Lens' DeleteRoute Text Source #

The ID of the route table.

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.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DeleteRouteResponse'" PrefixI False) (U1 *))