amazonka-ds-1.6.0: Amazon Directory Service 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.DirectoryService.RemoveIPRoutes

Contents

Description

Removes IP address blocks from a directory.

Synopsis

Creating a Request

removeIPRoutes #

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

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

  • rirDirectoryId - Identifier (ID) of the directory from which you want to remove the IP addresses.
  • rirCidrIPs - IP address blocks that you want to remove.

data RemoveIPRoutes #

See: removeIPRoutes smart constructor.

Instances

Eq RemoveIPRoutes # 
Data RemoveIPRoutes # 

Methods

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

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

toConstr :: RemoveIPRoutes -> Constr #

dataTypeOf :: RemoveIPRoutes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveIPRoutes # 
Show RemoveIPRoutes # 
Generic RemoveIPRoutes # 

Associated Types

type Rep RemoveIPRoutes :: * -> * #

Hashable RemoveIPRoutes # 
ToJSON RemoveIPRoutes # 
NFData RemoveIPRoutes # 

Methods

rnf :: RemoveIPRoutes -> () #

AWSRequest RemoveIPRoutes # 
ToHeaders RemoveIPRoutes # 
ToPath RemoveIPRoutes # 
ToQuery RemoveIPRoutes # 
type Rep RemoveIPRoutes # 
type Rep RemoveIPRoutes = D1 * (MetaData "RemoveIPRoutes" "Network.AWS.DirectoryService.RemoveIPRoutes" "amazonka-ds-1.6.0-GmQtRfGRD6LI91OTzfkXGW" False) (C1 * (MetaCons "RemoveIPRoutes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rirDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_rirCidrIPs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text]))))
type Rs RemoveIPRoutes # 

Request Lenses

rirDirectoryId :: Lens' RemoveIPRoutes Text #

Identifier (ID) of the directory from which you want to remove the IP addresses.

rirCidrIPs :: Lens' RemoveIPRoutes [Text] #

IP address blocks that you want to remove.

Destructuring the Response

removeIPRoutesResponse #

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

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

data RemoveIPRoutesResponse #

See: removeIPRoutesResponse smart constructor.

Instances

Eq RemoveIPRoutesResponse # 
Data RemoveIPRoutesResponse # 

Methods

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

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

toConstr :: RemoveIPRoutesResponse -> Constr #

dataTypeOf :: RemoveIPRoutesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RemoveIPRoutesResponse # 
Show RemoveIPRoutesResponse # 
Generic RemoveIPRoutesResponse # 
NFData RemoveIPRoutesResponse # 

Methods

rnf :: RemoveIPRoutesResponse -> () #

type Rep RemoveIPRoutesResponse # 
type Rep RemoveIPRoutesResponse = D1 * (MetaData "RemoveIPRoutesResponse" "Network.AWS.DirectoryService.RemoveIPRoutes" "amazonka-ds-1.6.0-GmQtRfGRD6LI91OTzfkXGW" True) (C1 * (MetaCons "RemoveIPRoutesResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_rirrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

rirrsResponseStatus :: Lens' RemoveIPRoutesResponse Int #

  • - | The response status code.