amazonka-ds-1.5.0: Amazon Directory Service SDK.

Copyright(c) 2013-2017 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.ListIPRoutes

Contents

Description

Lists the address blocks that you have added to a directory.

Synopsis

Creating a Request

listIPRoutes Source #

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

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

  • lirNextToken - The ListIpRoutes.NextToken value from a previous call to ListIpRoutes . Pass null if this is the first call.
  • lirLimit - Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.
  • lirDirectoryId - Identifier (ID) of the directory for which you want to retrieve the IP addresses.

data ListIPRoutes Source #

See: listIPRoutes smart constructor.

Instances

Eq ListIPRoutes Source # 
Data ListIPRoutes Source # 

Methods

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

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

toConstr :: ListIPRoutes -> Constr #

dataTypeOf :: ListIPRoutes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPRoutes Source # 
Show ListIPRoutes Source # 
Generic ListIPRoutes Source # 

Associated Types

type Rep ListIPRoutes :: * -> * #

Hashable ListIPRoutes Source # 
ToJSON ListIPRoutes Source # 
NFData ListIPRoutes Source # 

Methods

rnf :: ListIPRoutes -> () #

AWSRequest ListIPRoutes Source # 
ToQuery ListIPRoutes Source # 
ToPath ListIPRoutes Source # 
ToHeaders ListIPRoutes Source # 
type Rep ListIPRoutes Source # 
type Rep ListIPRoutes = D1 (MetaData "ListIPRoutes" "Network.AWS.DirectoryService.ListIPRoutes" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "ListIPRoutes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lirNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lirLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lirDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListIPRoutes Source # 

Request Lenses

lirNextToken :: Lens' ListIPRoutes (Maybe Text) Source #

The ListIpRoutes.NextToken value from a previous call to ListIpRoutes . Pass null if this is the first call.

lirLimit :: Lens' ListIPRoutes (Maybe Natural) Source #

Maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.

lirDirectoryId :: Lens' ListIPRoutes Text Source #

Identifier (ID) of the directory for which you want to retrieve the IP addresses.

Destructuring the Response

listIPRoutesResponse Source #

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

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

  • lirrsIPRoutesInfo - A list of IpRoute s.
  • lirrsNextToken - If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.
  • lirrsResponseStatus - -- | The response status code.

data ListIPRoutesResponse Source #

See: listIPRoutesResponse smart constructor.

Instances

Eq ListIPRoutesResponse Source # 
Data ListIPRoutesResponse Source # 

Methods

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

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

toConstr :: ListIPRoutesResponse -> Constr #

dataTypeOf :: ListIPRoutesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPRoutesResponse Source # 
Show ListIPRoutesResponse Source # 
Generic ListIPRoutesResponse Source # 
NFData ListIPRoutesResponse Source # 

Methods

rnf :: ListIPRoutesResponse -> () #

type Rep ListIPRoutesResponse Source # 
type Rep ListIPRoutesResponse = D1 (MetaData "ListIPRoutesResponse" "Network.AWS.DirectoryService.ListIPRoutes" "amazonka-ds-1.5.0-1HLYDvwiZrU5lmpUrrPDdj" False) (C1 (MetaCons "ListIPRoutesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lirrsIPRoutesInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IPRouteInfo]))) ((:*:) (S1 (MetaSel (Just Symbol "_lirrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lirrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lirrsNextToken :: Lens' ListIPRoutesResponse (Maybe Text) Source #

If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to ListIpRoutes to retrieve the next set of items.

lirrsResponseStatus :: Lens' ListIPRoutesResponse Int Source #

  • - | The response status code.