| 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.MigrationHub.ListApplicationStates
Description
Lists all the migration statuses for your applications. If you use the
optional ApplicationIds parameter, only the migration statuses for
those applications will be returned.
This operation returns paginated results.
Synopsis
- data ListApplicationStates = ListApplicationStates' {
- applicationIds :: Maybe (NonEmpty Text)
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- newListApplicationStates :: ListApplicationStates
- listApplicationStates_applicationIds :: Lens' ListApplicationStates (Maybe (NonEmpty Text))
- listApplicationStates_maxResults :: Lens' ListApplicationStates (Maybe Natural)
- listApplicationStates_nextToken :: Lens' ListApplicationStates (Maybe Text)
- data ListApplicationStatesResponse = ListApplicationStatesResponse' {}
- newListApplicationStatesResponse :: Int -> ListApplicationStatesResponse
- listApplicationStatesResponse_applicationStateList :: Lens' ListApplicationStatesResponse (Maybe [ApplicationState])
- listApplicationStatesResponse_nextToken :: Lens' ListApplicationStatesResponse (Maybe Text)
- listApplicationStatesResponse_httpStatus :: Lens' ListApplicationStatesResponse Int
Creating a Request
data ListApplicationStates Source #
See: newListApplicationStates smart constructor.
Constructors
| ListApplicationStates' | |
Fields
| |
Instances
newListApplicationStates :: ListApplicationStates Source #
Create a value of ListApplicationStates 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:applicationIds:ListApplicationStates', listApplicationStates_applicationIds - The configurationIds from the Application Discovery Service that
uniquely identifies your applications.
$sel:maxResults:ListApplicationStates', listApplicationStates_maxResults - Maximum number of results to be returned per page.
ListApplicationStates, listApplicationStates_nextToken - If a NextToken was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken.
Request Lenses
listApplicationStates_applicationIds :: Lens' ListApplicationStates (Maybe (NonEmpty Text)) Source #
The configurationIds from the Application Discovery Service that uniquely identifies your applications.
listApplicationStates_maxResults :: Lens' ListApplicationStates (Maybe Natural) Source #
Maximum number of results to be returned per page.
listApplicationStates_nextToken :: Lens' ListApplicationStates (Maybe Text) Source #
If a NextToken was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken.
Destructuring the Response
data ListApplicationStatesResponse Source #
See: newListApplicationStatesResponse smart constructor.
Constructors
| ListApplicationStatesResponse' | |
Fields
| |
Instances
newListApplicationStatesResponse Source #
Create a value of ListApplicationStatesResponse 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:applicationStateList:ListApplicationStatesResponse', listApplicationStatesResponse_applicationStateList - A list of Applications that exist in Application Discovery Service.
ListApplicationStates, listApplicationStatesResponse_nextToken - If a NextToken was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken.
$sel:httpStatus:ListApplicationStatesResponse', listApplicationStatesResponse_httpStatus - The response's http status code.
Response Lenses
listApplicationStatesResponse_applicationStateList :: Lens' ListApplicationStatesResponse (Maybe [ApplicationState]) Source #
A list of Applications that exist in Application Discovery Service.
listApplicationStatesResponse_nextToken :: Lens' ListApplicationStatesResponse (Maybe Text) Source #
If a NextToken was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken.
listApplicationStatesResponse_httpStatus :: Lens' ListApplicationStatesResponse Int Source #
The response's http status code.