amazonka-ds-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Data ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

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

Defined in Network.AWS.DirectoryService.ListIPRoutes

Show ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Generic ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Associated Types

type Rep ListIPRoutes :: Type -> Type #

Hashable ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

ToJSON ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

AWSRequest ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Associated Types

type Rs ListIPRoutes :: Type #

ToHeaders ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

ToPath ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

ToQuery ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

NFData ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Methods

rnf :: ListIPRoutes -> () #

type Rep ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

type Rep ListIPRoutes = D1 (MetaData "ListIPRoutes" "Network.AWS.DirectoryService.ListIPRoutes" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "ListIPRoutes'" PrefixI True) (S1 (MetaSel (Just "_lirNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lirLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_lirDirectoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListIPRoutes Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

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

Defined in Network.AWS.DirectoryService.ListIPRoutes

Data ListIPRoutesResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

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

Defined in Network.AWS.DirectoryService.ListIPRoutes

Show ListIPRoutesResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Generic ListIPRoutesResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Associated Types

type Rep ListIPRoutesResponse :: Type -> Type #

NFData ListIPRoutesResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

Methods

rnf :: ListIPRoutesResponse -> () #

type Rep ListIPRoutesResponse Source # 
Instance details

Defined in Network.AWS.DirectoryService.ListIPRoutes

type Rep ListIPRoutesResponse = D1 (MetaData "ListIPRoutesResponse" "Network.AWS.DirectoryService.ListIPRoutes" "amazonka-ds-1.6.1-GgbrksYrd5fGA0sALmSRaP" False) (C1 (MetaCons "ListIPRoutesResponse'" PrefixI True) (S1 (MetaSel (Just "_lirrsIPRoutesInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IPRouteInfo])) :*: (S1 (MetaSel (Just "_lirrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.