| 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 |
Amazonka.ServerlessApplicationRepository.ListApplications
Description
Lists applications owned by the requester.
This operation returns paginated results.
Synopsis
- data ListApplications = ListApplications' {}
- newListApplications :: ListApplications
- listApplications_nextToken :: Lens' ListApplications (Maybe Text)
- listApplications_maxItems :: Lens' ListApplications (Maybe Natural)
- data ListApplicationsResponse = ListApplicationsResponse' {}
- newListApplicationsResponse :: Int -> ListApplicationsResponse
- listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
- listApplicationsResponse_applications :: Lens' ListApplicationsResponse (Maybe [ApplicationSummary])
- listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
Creating a Request
data ListApplications Source #
See: newListApplications smart constructor.
Constructors
| 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:nextToken:ListApplications', listApplications_nextToken - A token to specify where to start paginating.
$sel:maxItems:ListApplications', listApplications_maxItems - The total number of items to return.
Request Lenses
listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #
A token to specify where to start paginating.
listApplications_maxItems :: Lens' ListApplications (Maybe Natural) Source #
The total number of items to return.
Destructuring the Response
data ListApplicationsResponse Source #
See: newListApplicationsResponse smart constructor.
Constructors
| ListApplicationsResponse' | |
Fields
| |
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:nextToken:ListApplications', listApplicationsResponse_nextToken - The token to request the next page of results.
$sel:applications:ListApplicationsResponse', listApplicationsResponse_applications - An array of application summaries.
$sel:httpStatus:ListApplicationsResponse', listApplicationsResponse_httpStatus - The response's http status code.
Response Lenses
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #
The token to request the next page of results.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse (Maybe [ApplicationSummary]) Source #
An array of application summaries.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int Source #
The response's http status code.