Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
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:
data ListIPRoutes Source #
See: listIPRoutes
smart constructor.
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
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:
data ListIPRoutesResponse Source #
See: listIPRoutesResponse
smart constructor.
Response Lenses
lirrsIPRoutesInfo :: Lens' ListIPRoutesResponse [IPRouteInfo] Source #
A list of IpRoutes.
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.