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 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' {
- nextToken :: Maybe Text
- applicationIds :: Maybe (NonEmpty Text)
- maxResults :: Maybe Natural
- newListApplicationStates :: ListApplicationStates
- listApplicationStates_nextToken :: Lens' ListApplicationStates (Maybe Text)
- listApplicationStates_applicationIds :: Lens' ListApplicationStates (Maybe (NonEmpty Text))
- listApplicationStates_maxResults :: Lens' ListApplicationStates (Maybe Natural)
- 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.
ListApplicationStates' | |
|
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:nextToken: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
.
$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.
Request Lenses
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
.
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.
Destructuring the Response
data ListApplicationStatesResponse Source #
See: newListApplicationStatesResponse
smart constructor.
ListApplicationStatesResponse' | |
|
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.
$sel:nextToken: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.