| 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.CognitoIdentityProvider.ListUserPoolClients
Description
Lists the clients that have been created for the specified user pool.
This operation returns paginated results.
Synopsis
- data ListUserPoolClients = ListUserPoolClients' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- userPoolId :: Text
- newListUserPoolClients :: Text -> ListUserPoolClients
- listUserPoolClients_maxResults :: Lens' ListUserPoolClients (Maybe Natural)
- listUserPoolClients_nextToken :: Lens' ListUserPoolClients (Maybe Text)
- listUserPoolClients_userPoolId :: Lens' ListUserPoolClients Text
- data ListUserPoolClientsResponse = ListUserPoolClientsResponse' {}
- newListUserPoolClientsResponse :: Int -> ListUserPoolClientsResponse
- listUserPoolClientsResponse_nextToken :: Lens' ListUserPoolClientsResponse (Maybe Text)
- listUserPoolClientsResponse_userPoolClients :: Lens' ListUserPoolClientsResponse (Maybe [UserPoolClientDescription])
- listUserPoolClientsResponse_httpStatus :: Lens' ListUserPoolClientsResponse Int
Creating a Request
data ListUserPoolClients Source #
Represents the request to list the user pool clients.
See: newListUserPoolClients smart constructor.
Constructors
| ListUserPoolClients' | |
Fields
| |
Instances
newListUserPoolClients Source #
Arguments
| :: Text | |
| -> ListUserPoolClients |
Create a value of ListUserPoolClients 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:maxResults:ListUserPoolClients', listUserPoolClients_maxResults - The maximum number of results you want the request to return when
listing the user pool clients.
ListUserPoolClients, listUserPoolClients_nextToken - An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
ListUserPoolClients, listUserPoolClients_userPoolId - The user pool ID for the user pool where you want to list user pool
clients.
Request Lenses
listUserPoolClients_maxResults :: Lens' ListUserPoolClients (Maybe Natural) Source #
The maximum number of results you want the request to return when listing the user pool clients.
listUserPoolClients_nextToken :: Lens' ListUserPoolClients (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listUserPoolClients_userPoolId :: Lens' ListUserPoolClients Text Source #
The user pool ID for the user pool where you want to list user pool clients.
Destructuring the Response
data ListUserPoolClientsResponse Source #
Represents the response from the server that lists user pool clients.
See: newListUserPoolClientsResponse smart constructor.
Constructors
| ListUserPoolClientsResponse' | |
Fields
| |
Instances
newListUserPoolClientsResponse Source #
Create a value of ListUserPoolClientsResponse 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:
ListUserPoolClients, listUserPoolClientsResponse_nextToken - An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:userPoolClients:ListUserPoolClientsResponse', listUserPoolClientsResponse_userPoolClients - The user pool clients in the response that lists user pool clients.
$sel:httpStatus:ListUserPoolClientsResponse', listUserPoolClientsResponse_httpStatus - The response's http status code.
Response Lenses
listUserPoolClientsResponse_nextToken :: Lens' ListUserPoolClientsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listUserPoolClientsResponse_userPoolClients :: Lens' ListUserPoolClientsResponse (Maybe [UserPoolClientDescription]) Source #
The user pool clients in the response that lists user pool clients.
listUserPoolClientsResponse_httpStatus :: Lens' ListUserPoolClientsResponse Int Source #
The response's http status code.