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 |
Lists apps.
This operation returns paginated results.
Synopsis
- data ListApps = ListApps' {}
- newListApps :: ListApps
- listApps_domainIdEquals :: Lens' ListApps (Maybe Text)
- listApps_nextToken :: Lens' ListApps (Maybe Text)
- listApps_sortOrder :: Lens' ListApps (Maybe SortOrder)
- listApps_userProfileNameEquals :: Lens' ListApps (Maybe Text)
- listApps_maxResults :: Lens' ListApps (Maybe Natural)
- listApps_sortBy :: Lens' ListApps (Maybe AppSortKey)
- data ListAppsResponse = ListAppsResponse' {
- apps :: Maybe [AppDetails]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAppsResponse :: Int -> ListAppsResponse
- listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppDetails])
- 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:domainIdEquals:ListApps'
, listApps_domainIdEquals
- A parameter to search for the domain ID.
$sel:nextToken:ListApps'
, listApps_nextToken
- If the previous response was truncated, you will receive this token. Use
it in your next request to receive the next set of results.
$sel:sortOrder:ListApps'
, listApps_sortOrder
- The sort order for the results. The default is Ascending.
$sel:userProfileNameEquals:ListApps'
, listApps_userProfileNameEquals
- A parameter to search by user profile name.
$sel:maxResults:ListApps'
, listApps_maxResults
- Returns a list up to a specified limit.
$sel:sortBy:ListApps'
, listApps_sortBy
- The parameter by which to sort the results. The default is CreationTime.
Request Lenses
listApps_domainIdEquals :: Lens' ListApps (Maybe Text) Source #
A parameter to search for the domain ID.
listApps_nextToken :: Lens' ListApps (Maybe Text) Source #
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
listApps_sortOrder :: Lens' ListApps (Maybe SortOrder) Source #
The sort order for the results. The default is Ascending.
listApps_userProfileNameEquals :: Lens' ListApps (Maybe Text) Source #
A parameter to search by user profile name.
listApps_maxResults :: Lens' ListApps (Maybe Natural) Source #
Returns a list up to a specified limit.
listApps_sortBy :: Lens' ListApps (Maybe AppSortKey) Source #
The parameter by which to sort the results. The default is CreationTime.
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 list of apps.
$sel:nextToken:ListApps'
, listAppsResponse_nextToken
- If the previous response was truncated, you will receive this token. Use
it in your next request to receive the next set of results.
$sel:httpStatus:ListAppsResponse'
, listAppsResponse_httpStatus
- The response's http status code.
Response Lenses
listAppsResponse_apps :: Lens' ListAppsResponse (Maybe [AppDetails]) Source #
The list of apps.
listAppsResponse_nextToken :: Lens' ListAppsResponse (Maybe Text) Source #
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
listAppsResponse_httpStatus :: Lens' ListAppsResponse Int Source #
The response's http status code.