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 information about all identity providers for a user pool.
This operation returns paginated results.
Synopsis
- data ListIdentityProviders = ListIdentityProviders' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- userPoolId :: Text
- newListIdentityProviders :: Text -> ListIdentityProviders
- listIdentityProviders_nextToken :: Lens' ListIdentityProviders (Maybe Text)
- listIdentityProviders_maxResults :: Lens' ListIdentityProviders (Maybe Natural)
- listIdentityProviders_userPoolId :: Lens' ListIdentityProviders Text
- data ListIdentityProvidersResponse = ListIdentityProvidersResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- providers :: [ProviderDescription]
- newListIdentityProvidersResponse :: Int -> ListIdentityProvidersResponse
- listIdentityProvidersResponse_nextToken :: Lens' ListIdentityProvidersResponse (Maybe Text)
- listIdentityProvidersResponse_httpStatus :: Lens' ListIdentityProvidersResponse Int
- listIdentityProvidersResponse_providers :: Lens' ListIdentityProvidersResponse [ProviderDescription]
Creating a Request
data ListIdentityProviders Source #
See: newListIdentityProviders
smart constructor.
ListIdentityProviders' | |
|
Instances
newListIdentityProviders Source #
Create a value of ListIdentityProviders
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:ListIdentityProviders'
, listIdentityProviders_nextToken
- A pagination token.
$sel:maxResults:ListIdentityProviders'
, listIdentityProviders_maxResults
- The maximum number of identity providers to return.
$sel:userPoolId:ListIdentityProviders'
, listIdentityProviders_userPoolId
- The user pool ID.
Request Lenses
listIdentityProviders_nextToken :: Lens' ListIdentityProviders (Maybe Text) Source #
A pagination token.
listIdentityProviders_maxResults :: Lens' ListIdentityProviders (Maybe Natural) Source #
The maximum number of identity providers to return.
listIdentityProviders_userPoolId :: Lens' ListIdentityProviders Text Source #
The user pool ID.
Destructuring the Response
data ListIdentityProvidersResponse Source #
See: newListIdentityProvidersResponse
smart constructor.
ListIdentityProvidersResponse' | |
|
Instances
newListIdentityProvidersResponse Source #
Create a value of ListIdentityProvidersResponse
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:ListIdentityProviders'
, listIdentityProvidersResponse_nextToken
- A pagination token.
$sel:httpStatus:ListIdentityProvidersResponse'
, listIdentityProvidersResponse_httpStatus
- The response's http status code.
$sel:providers:ListIdentityProvidersResponse'
, listIdentityProvidersResponse_providers
- A list of identity provider objects.
Response Lenses
listIdentityProvidersResponse_nextToken :: Lens' ListIdentityProvidersResponse (Maybe Text) Source #
A pagination token.
listIdentityProvidersResponse_httpStatus :: Lens' ListIdentityProvidersResponse Int Source #
The response's http status code.
listIdentityProvidersResponse_providers :: Lens' ListIdentityProvidersResponse [ProviderDescription] Source #
A list of identity provider objects.