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 |
Lists applications based on a set of parameters.
This operation returns paginated results.
Synopsis
- data ListApplications = ListApplications' {}
- newListApplications :: ListApplications
- listApplications_maxResults :: Lens' ListApplications (Maybe Natural)
- listApplications_nextToken :: Lens' ListApplications (Maybe Text)
- listApplications_states :: Lens' ListApplications (Maybe (NonEmpty ApplicationState))
- data ListApplicationsResponse = ListApplicationsResponse' {}
- newListApplicationsResponse :: Int -> ListApplicationsResponse
- listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
- listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
- listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary]
Creating a Request
data ListApplications Source #
See: newListApplications
smart constructor.
ListApplications' | |
|
Instances
newListApplications :: ListApplications Source #
Create a value of ListApplications
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:ListApplications'
, listApplications_maxResults
- The maximum number of applications that can be listed.
ListApplications
, listApplications_nextToken
- The token for the next set of application results.
$sel:states:ListApplications'
, listApplications_states
- An optional filter for application states. Note that if this filter
contains multiple states, the resulting list will be grouped by the
state.
Request Lenses
listApplications_maxResults :: Lens' ListApplications (Maybe Natural) Source #
The maximum number of applications that can be listed.
listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #
The token for the next set of application results.
listApplications_states :: Lens' ListApplications (Maybe (NonEmpty ApplicationState)) Source #
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
Destructuring the Response
data ListApplicationsResponse Source #
See: newListApplicationsResponse
smart constructor.
ListApplicationsResponse' | |
|
Instances
newListApplicationsResponse Source #
Create a value of ListApplicationsResponse
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:
ListApplications
, listApplicationsResponse_nextToken
- The output displays the token for the next set of application results.
This is required for pagination and is available as a response of the
previous request.
$sel:httpStatus:ListApplicationsResponse'
, listApplicationsResponse_httpStatus
- The response's http status code.
$sel:applications:ListApplicationsResponse'
, listApplicationsResponse_applications
- The output lists the specified applications.
Response Lenses
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #
The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int Source #
The response's http status code.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary] Source #
The output lists the specified applications.