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 |
Returns a list of the existing Amplify apps.
This operation returns paginated results.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: ListApps
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- listApps_maxResults :: Lens' ListApps (Maybe Natural)
- data ListAppsResponse = ListAppsResponse' {}
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text)
- listAppsResponse_httpStatus :: Lens' ListAppsResponse Int
- listAppsResponse_apps :: Lens' ListAppsResponse [App]
Creating a Request
The request structure for the list apps request.
See: newListApps
smart constructor.
Instances
newListApps :: ListApps Source #
Create a value of ListApps
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:ListApps'
, listApps_nextToken
- A pagination token. If non-null, the pagination token is returned in a
result. Pass its value in another request to retrieve more entries.
$sel:maxResults:ListApps'
, listApps_maxResults
- The maximum number of records to list in a single response.
Request Lenses
listApps_nextToken :: Lens' ListApps (Maybe Text) Source #
A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
listApps_maxResults :: Lens' ListApps (Maybe Natural) Source #
The maximum number of records to list in a single response.
Destructuring the Response
data ListAppsResponse Source #
The result structure for an Amplify app list request.
See: newListAppsResponse
smart constructor.
Instances
Create a value of ListAppsResponse
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:ListApps'
, listAppsResponse_nextToken
- A pagination token. Set to null to start listing apps from start. If
non-null, the pagination token is returned in a result. Pass its value
in here to list more projects.
$sel:httpStatus:ListAppsResponse'
, listAppsResponse_httpStatus
- The response's http status code.
$sel:apps:ListAppsResponse'
, listAppsResponse_apps
- A list of Amplify apps.
Response Lenses
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.
listAppsResponse_apps :: Lens' ListAppsResponse [App] Source #
A list of Amplify apps.