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 |
Retrieves summaries for all applications.
This operation returns paginated results.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: ListApps
- listApps_appIds :: Lens' ListApps (Maybe [Text])
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- listApps_maxResults :: Lens' ListApps (Maybe Int)
- data ListAppsResponse = ListAppsResponse' {
- apps :: Maybe [AppSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppSummary])
- listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text)
- listAppsResponse_httpStatus :: Lens' ListAppsResponse Int
Creating a Request
See: newListApps
smart constructor.
ListApps' | |
|
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:appIds:ListApps'
, listApps_appIds
- The unique application IDs.
$sel:nextToken:ListApps'
, listApps_nextToken
- The token for the next set of results.
$sel:maxResults:ListApps'
, listApps_maxResults
- The maximum number of results to return in a single call. The default
value is 100. To retrieve the remaining results, make another call with
the returned NextToken
value.
Request Lenses
listApps_maxResults :: Lens' ListApps (Maybe Int) Source #
The maximum number of results to return in a single call. The default
value is 100. To retrieve the remaining results, make another call with
the returned NextToken
value.
Destructuring the Response
data ListAppsResponse Source #
See: newListAppsResponse
smart constructor.
ListAppsResponse' | |
|
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:apps:ListAppsResponse'
, listAppsResponse_apps
- The application summaries.
$sel:nextToken:ListApps'
, listAppsResponse_nextToken
- The token required to retrieve the next set of results. This value is
null when there are no more results to return.
$sel:httpStatus:ListAppsResponse'
, listAppsResponse_httpStatus
- The response's http status code.
Response Lenses
listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppSummary]) Source #
The application summaries.
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
The token required to retrieve the next set of results. This value is null when there are no more results to return.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.