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 all applications in your Amazon Web Services account.
Synopsis
- data ListApplications = ListApplications' {}
- newListApplications :: ListApplications
- listApplications_maxResults :: Lens' ListApplications (Maybe Natural)
- listApplications_nextToken :: Lens' ListApplications (Maybe Text)
- data ListApplicationsResponse = ListApplicationsResponse' {
- items :: Maybe [Application]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListApplicationsResponse :: Int -> ListApplicationsResponse
- listApplicationsResponse_items :: Lens' ListApplicationsResponse (Maybe [Application])
- listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
- listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
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 items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
ListApplications
, listApplications_nextToken
- A token to start the list. Next token is a pagination token generated by
AppConfig to describe what page the previous List call ended on. For the
first List request, the nextToken should not be set. On subsequent
calls, the nextToken parameter should be set to the previous responses
nextToken value. Use this token to get the next set of results.
Request Lenses
listApplications_maxResults :: Lens' ListApplications (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #
A token to start the list. Next token is a pagination token generated by AppConfig to describe what page the previous List call ended on. For the first List request, the nextToken should not be set. On subsequent calls, the nextToken parameter should be set to the previous responses nextToken value. Use this token to get the next set of results.
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:
$sel:items:ListApplicationsResponse'
, listApplicationsResponse_items
- The elements from this collection.
ListApplications
, listApplicationsResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:httpStatus:ListApplicationsResponse'
, listApplicationsResponse_httpStatus
- The response's http status code.
Response Lenses
listApplicationsResponse_items :: Lens' ListApplicationsResponse (Maybe [Application]) Source #
The elements from this collection.
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int Source #
The response's http status code.