Copyright | (c) 2013-2021 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 |
Lists the address blocks that you have added to a directory.
This operation returns paginated results.
Synopsis
- data ListIpRoutes = ListIpRoutes' {}
- newListIpRoutes :: Text -> ListIpRoutes
- listIpRoutes_nextToken :: Lens' ListIpRoutes (Maybe Text)
- listIpRoutes_limit :: Lens' ListIpRoutes (Maybe Natural)
- listIpRoutes_directoryId :: Lens' ListIpRoutes Text
- data ListIpRoutesResponse = ListIpRoutesResponse' {
- ipRoutesInfo :: Maybe [IpRouteInfo]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListIpRoutesResponse :: Int -> ListIpRoutesResponse
- listIpRoutesResponse_ipRoutesInfo :: Lens' ListIpRoutesResponse (Maybe [IpRouteInfo])
- listIpRoutesResponse_nextToken :: Lens' ListIpRoutesResponse (Maybe Text)
- listIpRoutesResponse_httpStatus :: Lens' ListIpRoutesResponse Int
Creating a Request
data ListIpRoutes Source #
See: newListIpRoutes
smart constructor.
ListIpRoutes' | |
|
Instances
Create a value of ListIpRoutes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListIpRoutes'
, listIpRoutes_nextToken
- The ListIpRoutes.NextToken value from a previous call to ListIpRoutes.
Pass null if this is the first call.
$sel:limit:ListIpRoutes'
, listIpRoutes_limit
- Maximum number of items to return. If this value is zero, the maximum
number of items is specified by the limitations of the operation.
$sel:directoryId:ListIpRoutes'
, listIpRoutes_directoryId
- Identifier (ID) of the directory for which you want to retrieve the IP
addresses.
Request Lenses
listIpRoutes_nextToken :: Lens' ListIpRoutes (Maybe Text) Source #
The ListIpRoutes.NextToken value from a previous call to ListIpRoutes. Pass null if this is the first call.
listIpRoutes_limit :: 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.
listIpRoutes_directoryId :: Lens' ListIpRoutes Text Source #
Identifier (ID) of the directory for which you want to retrieve the IP addresses.
Destructuring the Response
data ListIpRoutesResponse Source #
See: newListIpRoutesResponse
smart constructor.
ListIpRoutesResponse' | |
|
Instances
newListIpRoutesResponse Source #
Create a value of ListIpRoutesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ipRoutesInfo:ListIpRoutesResponse'
, listIpRoutesResponse_ipRoutesInfo
- A list of IpRoutes.
$sel:nextToken:ListIpRoutes'
, listIpRoutesResponse_nextToken
- 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.
$sel:httpStatus:ListIpRoutesResponse'
, listIpRoutesResponse_httpStatus
- The response's http status code.
Response Lenses
listIpRoutesResponse_ipRoutesInfo :: Lens' ListIpRoutesResponse (Maybe [IpRouteInfo]) Source #
A list of IpRoutes.
listIpRoutesResponse_nextToken :: 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.
listIpRoutesResponse_httpStatus :: Lens' ListIpRoutesResponse Int Source #
The response's http status code.