| 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.ListUserProfiles
Description
Lists user profiles.
This operation returns paginated results.
Synopsis
- data ListUserProfiles = ListUserProfiles' {}
 - newListUserProfiles :: ListUserProfiles
 - listUserProfiles_domainIdEquals :: Lens' ListUserProfiles (Maybe Text)
 - listUserProfiles_maxResults :: Lens' ListUserProfiles (Maybe Natural)
 - listUserProfiles_nextToken :: Lens' ListUserProfiles (Maybe Text)
 - listUserProfiles_sortBy :: Lens' ListUserProfiles (Maybe UserProfileSortKey)
 - listUserProfiles_sortOrder :: Lens' ListUserProfiles (Maybe SortOrder)
 - listUserProfiles_userProfileNameContains :: Lens' ListUserProfiles (Maybe Text)
 - data ListUserProfilesResponse = ListUserProfilesResponse' {}
 - newListUserProfilesResponse :: Int -> ListUserProfilesResponse
 - listUserProfilesResponse_nextToken :: Lens' ListUserProfilesResponse (Maybe Text)
 - listUserProfilesResponse_userProfiles :: Lens' ListUserProfilesResponse (Maybe [UserProfileDetails])
 - listUserProfilesResponse_httpStatus :: Lens' ListUserProfilesResponse Int
 
Creating a Request
data ListUserProfiles Source #
See: newListUserProfiles smart constructor.
Constructors
| ListUserProfiles' | |
Fields 
  | |
Instances
newListUserProfiles :: ListUserProfiles Source #
Create a value of ListUserProfiles 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:ListUserProfiles', listUserProfiles_domainIdEquals - A parameter by which to filter the results.
$sel:maxResults:ListUserProfiles', listUserProfiles_maxResults - Returns a list up to a specified limit.
ListUserProfiles, listUserProfiles_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:ListUserProfiles', listUserProfiles_sortBy - The parameter by which to sort the results. The default is CreationTime.
$sel:sortOrder:ListUserProfiles', listUserProfiles_sortOrder - The sort order for the results. The default is Ascending.
$sel:userProfileNameContains:ListUserProfiles', listUserProfiles_userProfileNameContains - A parameter by which to filter the results.
Request Lenses
listUserProfiles_domainIdEquals :: Lens' ListUserProfiles (Maybe Text) Source #
A parameter by which to filter the results.
listUserProfiles_maxResults :: Lens' ListUserProfiles (Maybe Natural) Source #
Returns a list up to a specified limit.
listUserProfiles_nextToken :: Lens' ListUserProfiles (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.
listUserProfiles_sortBy :: Lens' ListUserProfiles (Maybe UserProfileSortKey) Source #
The parameter by which to sort the results. The default is CreationTime.
listUserProfiles_sortOrder :: Lens' ListUserProfiles (Maybe SortOrder) Source #
The sort order for the results. The default is Ascending.
listUserProfiles_userProfileNameContains :: Lens' ListUserProfiles (Maybe Text) Source #
A parameter by which to filter the results.
Destructuring the Response
data ListUserProfilesResponse Source #
See: newListUserProfilesResponse smart constructor.
Constructors
| ListUserProfilesResponse' | |
Fields 
  | |
Instances
newListUserProfilesResponse Source #
Create a value of ListUserProfilesResponse 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:
ListUserProfiles, listUserProfilesResponse_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:userProfiles:ListUserProfilesResponse', listUserProfilesResponse_userProfiles - The list of user profiles.
$sel:httpStatus:ListUserProfilesResponse', listUserProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listUserProfilesResponse_nextToken :: Lens' ListUserProfilesResponse (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.
listUserProfilesResponse_userProfiles :: Lens' ListUserProfilesResponse (Maybe [UserProfileDetails]) Source #
The list of user profiles.
listUserProfilesResponse_httpStatus :: Lens' ListUserProfilesResponse Int Source #
The response's http status code.