| 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.SageMaker.ListApps
Description
Lists apps.
This operation returns paginated results.
Synopsis
- data ListApps = ListApps' {}
 - newListApps :: ListApps
 - listApps_domainIdEquals :: Lens' ListApps (Maybe Text)
 - listApps_maxResults :: Lens' ListApps (Maybe Natural)
 - listApps_nextToken :: Lens' ListApps (Maybe Text)
 - listApps_sortBy :: Lens' ListApps (Maybe AppSortKey)
 - listApps_sortOrder :: Lens' ListApps (Maybe SortOrder)
 - listApps_spaceNameEquals :: Lens' ListApps (Maybe Text)
 - listApps_userProfileNameEquals :: Lens' ListApps (Maybe Text)
 - 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.
Constructors
| ListApps' | |
Fields 
  | |
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:maxResults:ListApps', listApps_maxResults - Returns a list up to a specified limit.
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:sortBy:ListApps', listApps_sortBy - The parameter by which to sort the results. The default is CreationTime.
$sel:sortOrder:ListApps', listApps_sortOrder - The sort order for the results. The default is Ascending.
$sel:spaceNameEquals:ListApps', listApps_spaceNameEquals - A parameter to search by space name. If UserProfileNameEquals is set,
 then this value cannot be set.
$sel:userProfileNameEquals:ListApps', listApps_userProfileNameEquals - A parameter to search by user profile name. If SpaceNameEquals is set,
 then this value cannot be set.
Request Lenses
listApps_domainIdEquals :: Lens' ListApps (Maybe Text) Source #
A parameter to search for the domain ID.
listApps_maxResults :: Lens' ListApps (Maybe Natural) Source #
Returns a list up to a specified limit.
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_sortBy :: Lens' ListApps (Maybe AppSortKey) Source #
The parameter by which to sort the results. The default is CreationTime.
listApps_sortOrder :: Lens' ListApps (Maybe SortOrder) Source #
The sort order for the results. The default is Ascending.
listApps_spaceNameEquals :: Lens' ListApps (Maybe Text) Source #
A parameter to search by space name. If UserProfileNameEquals is set,
 then this value cannot be set.
listApps_userProfileNameEquals :: Lens' ListApps (Maybe Text) Source #
A parameter to search by user profile name. If SpaceNameEquals is set,
 then this value cannot be set.
Destructuring the Response
data ListAppsResponse Source #
See: newListAppsResponse smart constructor.
Constructors
| ListAppsResponse' | |
Fields 
  | |
Instances
Arguments
| :: Int | |
| -> ListAppsResponse | 
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.
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.