| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DirectoryService.ListIpRoutes
Description
Lists the address blocks that you have added to a directory.
This operation returns paginated results.
Synopsis
- data ListIpRoutes = ListIpRoutes' {}
- newListIpRoutes :: Text -> ListIpRoutes
- listIpRoutes_limit :: Lens' ListIpRoutes (Maybe Natural)
- listIpRoutes_nextToken :: Lens' ListIpRoutes (Maybe Text)
- 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.
Constructors
| ListIpRoutes' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListIpRoutes |
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: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.
ListIpRoutes, listIpRoutes_nextToken - The ListIpRoutes.NextToken value from a previous call to ListIpRoutes.
Pass null if this is the first call.
ListIpRoutes, listIpRoutes_directoryId - Identifier (ID) of the directory for which you want to retrieve the IP
addresses.
Request Lenses
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_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_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.
Constructors
| ListIpRoutesResponse' | |
Fields
| |
Instances
newListIpRoutesResponse Source #
Arguments
| :: Int | |
| -> ListIpRoutesResponse |
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.
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.