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 #

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

Defined in Network.AWS.EC2.DeleteRoute

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

Defined in Network.AWS.EC2.DeleteRoute

Show DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Generic DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rep DeleteRoute :: Type -> Type #

Hashable DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

AWSRequest DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rs DeleteRoute :: Type #

ToHeaders DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

toHeaders :: DeleteRoute -> [Header] #

ToPath DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

ToQuery DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

NFData DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

rnf :: DeleteRoute -> () #

type Rep DeleteRoute # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

type Rep DeleteRoute = D1 (MetaData "DeleteRoute" "Network.AWS.EC2.DeleteRoute" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" 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 # 
Instance details

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

Defined in Network.AWS.EC2.DeleteRoute

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

Defined in Network.AWS.EC2.DeleteRoute

Show DeleteRouteResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Generic DeleteRouteResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Associated Types

type Rep DeleteRouteResponse :: Type -> Type #

NFData DeleteRouteResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

Methods

rnf :: DeleteRouteResponse -> () #

type Rep DeleteRouteResponse # 
Instance details

Defined in Network.AWS.EC2.DeleteRoute

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