| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DirectoryService.ListIPRoutes
Description
Lists the address blocks that you have added to a directory.
- listIPRoutes :: Text -> ListIPRoutes
- data ListIPRoutes
- lirNextToken :: Lens' ListIPRoutes (Maybe Text)
- lirLimit :: Lens' ListIPRoutes (Maybe Natural)
- lirDirectoryId :: Lens' ListIPRoutes Text
- listIPRoutesResponse :: Int -> ListIPRoutesResponse
- data ListIPRoutesResponse
- lirrsIPRoutesInfo :: Lens' ListIPRoutesResponse [IPRouteInfo]
- lirrsNextToken :: Lens' ListIPRoutesResponse (Maybe Text)
- lirrsResponseStatus :: Lens' ListIPRoutesResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListIPRoutes |
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 toListIpRoutes. 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
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
Arguments
| :: Int | |
| -> ListIPRoutesResponse |
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 ofIpRoutes.lirrsNextToken- If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call toListIpRoutesto retrieve the next set of items.lirrsResponseStatus- -- | The response status code.
data ListIPRoutesResponse Source #
See: listIPRoutesResponse smart constructor.
Response Lenses
lirrsIPRoutesInfo :: Lens' ListIPRoutesResponse [IPRouteInfo] Source #
A list of IpRoute s.
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.