| 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.MigrationHubReFactorSpaces.ListRoutes
Description
Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
This operation returns paginated results.
Synopsis
- data ListRoutes = ListRoutes' {}
- newListRoutes :: Text -> Text -> ListRoutes
- listRoutes_maxResults :: Lens' ListRoutes (Maybe Natural)
- listRoutes_nextToken :: Lens' ListRoutes (Maybe Text)
- listRoutes_applicationIdentifier :: Lens' ListRoutes Text
- listRoutes_environmentIdentifier :: Lens' ListRoutes Text
- data ListRoutesResponse = ListRoutesResponse' {
- nextToken :: Maybe Text
- routeSummaryList :: Maybe [RouteSummary]
- httpStatus :: Int
- newListRoutesResponse :: Int -> ListRoutesResponse
- listRoutesResponse_nextToken :: Lens' ListRoutesResponse (Maybe Text)
- listRoutesResponse_routeSummaryList :: Lens' ListRoutesResponse (Maybe [RouteSummary])
- listRoutesResponse_httpStatus :: Lens' ListRoutesResponse Int
Creating a Request
data ListRoutes Source #
See: newListRoutes smart constructor.
Constructors
| ListRoutes' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ListRoutes |
Create a value of ListRoutes 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:maxResults:ListRoutes', listRoutes_maxResults - The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListRoutes, listRoutes_nextToken - The token for the next page of results.
$sel:applicationIdentifier:ListRoutes', listRoutes_applicationIdentifier - The ID of the application.
$sel:environmentIdentifier:ListRoutes', listRoutes_environmentIdentifier - The ID of the environment.
Request Lenses
listRoutes_maxResults :: Lens' ListRoutes (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listRoutes_nextToken :: Lens' ListRoutes (Maybe Text) Source #
The token for the next page of results.
listRoutes_applicationIdentifier :: Lens' ListRoutes Text Source #
The ID of the application.
listRoutes_environmentIdentifier :: Lens' ListRoutes Text Source #
The ID of the environment.
Destructuring the Response
data ListRoutesResponse Source #
See: newListRoutesResponse smart constructor.
Constructors
| ListRoutesResponse' | |
Fields
| |
Instances
newListRoutesResponse Source #
Arguments
| :: Int | |
| -> ListRoutesResponse |
Create a value of ListRoutesResponse 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:
ListRoutes, listRoutesResponse_nextToken - The token for the next page of results.
$sel:routeSummaryList:ListRoutesResponse', listRoutesResponse_routeSummaryList - The list of RouteSummary objects.
$sel:httpStatus:ListRoutesResponse', listRoutesResponse_httpStatus - The response's http status code.
Response Lenses
listRoutesResponse_nextToken :: Lens' ListRoutesResponse (Maybe Text) Source #
The token for the next page of results.
listRoutesResponse_routeSummaryList :: Lens' ListRoutesResponse (Maybe [RouteSummary]) Source #
The list of RouteSummary objects.
listRoutesResponse_httpStatus :: Lens' ListRoutesResponse Int Source #
The response's http status code.