libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoIdentityProvider.ListUserPools

Description

Lists the user pools associated with an account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUserPools Source #

Represents the request to list user pools.

See: newListUserPools smart constructor.

Constructors

ListUserPools' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Natural

    The maximum number of results you want the request to return when listing the user pools.

Instances

Instances details
Eq ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Read ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Show ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Generic ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Associated Types

type Rep ListUserPools :: Type -> Type #

NFData ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Methods

rnf :: ListUserPools -> () #

Hashable ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

ToJSON ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

AWSPager ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

AWSRequest ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Associated Types

type AWSResponse ListUserPools #

ToHeaders ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

ToPath ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

ToQuery ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

type Rep ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

type Rep ListUserPools = D1 ('MetaData "ListUserPools" "Amazonka.CognitoIdentityProvider.ListUserPools" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListUserPools'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))
type AWSResponse ListUserPools Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

newListUserPools Source #

Create a value of ListUserPools 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:ListUserPools', listUserPools_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:maxResults:ListUserPools', listUserPools_maxResults - The maximum number of results you want the request to return when listing the user pools.

Request Lenses

listUserPools_nextToken :: Lens' ListUserPools (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.

listUserPools_maxResults :: Lens' ListUserPools Natural Source #

The maximum number of results you want the request to return when listing the user pools.

Destructuring the Response

data ListUserPoolsResponse Source #

Represents the response to list user pools.

See: newListUserPoolsResponse smart constructor.

Constructors

ListUserPoolsResponse' 

Fields

Instances

Instances details
Eq ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Read ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Show ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Generic ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Associated Types

type Rep ListUserPoolsResponse :: Type -> Type #

NFData ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

Methods

rnf :: ListUserPoolsResponse -> () #

type Rep ListUserPoolsResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUserPools

type Rep ListUserPoolsResponse = D1 ('MetaData "ListUserPoolsResponse" "Amazonka.CognitoIdentityProvider.ListUserPools" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListUserPoolsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserPoolDescriptionType])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListUserPoolsResponse Source #

Create a value of ListUserPoolsResponse 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:userPools:ListUserPoolsResponse', listUserPoolsResponse_userPools - The user pools from the response to list users.

$sel:nextToken:ListUserPools', listUserPoolsResponse_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:httpStatus:ListUserPoolsResponse', listUserPoolsResponse_httpStatus - The response's http status code.

Response Lenses

listUserPoolsResponse_nextToken :: Lens' ListUserPoolsResponse (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.