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