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