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 the resource servers for a user pool.
This operation returns paginated results.
Synopsis
- data ListResourceServers = ListResourceServers' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- userPoolId :: Text
- newListResourceServers :: Text -> ListResourceServers
- listResourceServers_nextToken :: Lens' ListResourceServers (Maybe Text)
- listResourceServers_maxResults :: Lens' ListResourceServers (Maybe Natural)
- listResourceServers_userPoolId :: Lens' ListResourceServers Text
- data ListResourceServersResponse = ListResourceServersResponse' {}
- newListResourceServersResponse :: Int -> ListResourceServersResponse
- listResourceServersResponse_nextToken :: Lens' ListResourceServersResponse (Maybe Text)
- listResourceServersResponse_httpStatus :: Lens' ListResourceServersResponse Int
- listResourceServersResponse_resourceServers :: Lens' ListResourceServersResponse [ResourceServerType]
Creating a Request
data ListResourceServers Source #
See: newListResourceServers
smart constructor.
ListResourceServers' | |
|
Instances
newListResourceServers Source #
Create a value of ListResourceServers
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:nextToken:ListResourceServers'
, listResourceServers_nextToken
- A pagination token.
$sel:maxResults:ListResourceServers'
, listResourceServers_maxResults
- The maximum number of resource servers to return.
$sel:userPoolId:ListResourceServers'
, listResourceServers_userPoolId
- The user pool ID for the user pool.
Request Lenses
listResourceServers_nextToken :: Lens' ListResourceServers (Maybe Text) Source #
A pagination token.
listResourceServers_maxResults :: Lens' ListResourceServers (Maybe Natural) Source #
The maximum number of resource servers to return.
listResourceServers_userPoolId :: Lens' ListResourceServers Text Source #
The user pool ID for the user pool.
Destructuring the Response
data ListResourceServersResponse Source #
See: newListResourceServersResponse
smart constructor.
ListResourceServersResponse' | |
|
Instances
newListResourceServersResponse Source #
Create a value of ListResourceServersResponse
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:nextToken:ListResourceServers'
, listResourceServersResponse_nextToken
- A pagination token.
$sel:httpStatus:ListResourceServersResponse'
, listResourceServersResponse_httpStatus
- The response's http status code.
$sel:resourceServers:ListResourceServersResponse'
, listResourceServersResponse_resourceServers
- The resource servers.
Response Lenses
listResourceServersResponse_nextToken :: Lens' ListResourceServersResponse (Maybe Text) Source #
A pagination token.
listResourceServersResponse_httpStatus :: Lens' ListResourceServersResponse Int Source #
The response's http status code.
listResourceServersResponse_resourceServers :: Lens' ListResourceServersResponse [ResourceServerType] Source #
The resource servers.