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

Defined in Network.AWS.EC2.DeleteRoute

Data DeleteRoute Source # 
Instance details

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

Defined in Network.AWS.EC2.DeleteRoute

Show DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Generic DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rep DeleteRoute :: Type -> Type #

Hashable DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

AWSRequest DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rs DeleteRoute :: Type #

ToHeaders DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

toHeaders :: DeleteRoute -> [Header] #

ToPath DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

ToQuery DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

NFData DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

rnf :: DeleteRoute -> () #

type Rep DeleteRoute Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

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

Defined in Network.AWS.EC2.DeleteRoute

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

Defined in Network.AWS.EC2.DeleteRoute

Data DeleteRouteResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

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

Defined in Network.AWS.EC2.DeleteRoute

Show DeleteRouteResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Generic DeleteRouteResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rep DeleteRouteResponse :: Type -> Type #

NFData DeleteRouteResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

rnf :: DeleteRouteResponse -> () #

type Rep DeleteRouteResponse Source # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

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