CognitoIdentityProvider.Paginator.
ListUserPools
¶paginator = client.get_paginator('list_user_pools')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CognitoIdentityProvider.Client.list_user_pools()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'UserPools': [
{
'Id': 'string',
'Name': 'string',
'LambdaConfig': {
'PreSignUp': 'string',
'CustomMessage': 'string',
'PostConfirmation': 'string',
'PreAuthentication': 'string',
'PostAuthentication': 'string',
'DefineAuthChallenge': 'string',
'CreateAuthChallenge': 'string',
'VerifyAuthChallengeResponse': 'string',
'PreTokenGeneration': 'string',
'UserMigration': 'string',
'CustomSMSSender': {
'LambdaVersion': 'V1_0',
'LambdaArn': 'string'
},
'CustomEmailSender': {
'LambdaVersion': 'V1_0',
'LambdaArn': 'string'
},
'KMSKeyID': 'string'
},
'Status': 'Enabled'|'Disabled',
'LastModifiedDate': datetime(2015, 1, 1),
'CreationDate': datetime(2015, 1, 1)
},
],
}
Response Structure
Represents the response to list user pools.
The user pools from the response to list users.
A user pool description.
The ID in a user pool description.
The name in a user pool description.
The Lambda configuration information in a user pool description.
A pre-registration Lambda trigger.
A custom Message Lambda trigger.
A post-confirmation Lambda trigger.
A pre-authentication Lambda trigger.
A post-authentication Lambda trigger.
Defines the authentication challenge.
Creates an authentication challenge.
Verifies the authentication challenge response.
A Lambda trigger that is invoked before token generation.
The user migration Lambda config type.
A custom SMS sender Lambda trigger.
Signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0
.
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
A custom email sender Lambda trigger.
Signature of the "request" attribute in the "event" information Amazon Cognito passes to your custom email Lambda function. The only supported value is V1_0
.
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send email notifications to users.
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender
and CustomSMSSender
.
The user pool status in a user pool description.
The date the user pool description was last modified.
The date the user pool description was created.